// Copyright 1986-2020 Xilinx, Inc. All Rights Reserved.
// --------------------------------------------------------------------------------
// Tool Version: Vivado v.2020.2 (win64) Build 3064766 Wed Nov 18 09:12:45 MST 2020
// Date        : Mon Feb 21 18:27:42 2022
// Host        : DESKTOP-KES887P running 64-bit major release  (build 9200)
// Command     : write_verilog -mode timesim -nolib -sdf_anno true -force -file
//               D:/FPGA_code/vivado_code/14_hdmi_block_move/hdmi_block_move.sim/sim_1/impl/timing/xsim/hdmi_block_move_top_time_impl.v
// Design      : hdmi_block_move_top
// Purpose     : This verilog netlist is a timing simulation representation of the design and should not be modified or
//               synthesized. Please ensure that this netlist is used with the corresponding SDF file.
// Device      : xc7z020clg400-1
// --------------------------------------------------------------------------------
`timescale 1 ps / 1 ps
`define XIL_TIMING

module asyn_rst_syn
   (AR,
    CLK,
    sys_rst_IBUF);
  output [0:0]AR;
  input CLK;
  input sys_rst_IBUF;

  wire [0:0]AR;
  wire CLK;
  wire reset_1;
  wire sys_rst_IBUF;

  FDPE #(
    .INIT(1'b1)) 
    reset_1_reg
       (.C(CLK),
        .CE(1'b1),
        .D(1'b0),
        .PRE(sys_rst_IBUF),
        .Q(reset_1));
  FDPE #(
    .INIT(1'b1)) 
    reset_2_reg
       (.C(CLK),
        .CE(1'b1),
        .D(reset_1),
        .PRE(sys_rst_IBUF),
        .Q(AR));
endmodule

module clk_wiz_1
   (clk_out1,
    clk_out2,
    reset,
    locked,
    clk_in1);
  output clk_out1;
  output clk_out2;
  input reset;
  output locked;
  input clk_in1;

  wire clk_in1;
  wire clk_out1;
  wire clk_out2;
  wire reset;
  wire NLW_inst_locked_UNCONNECTED;

  clk_wiz_1_clk_wiz_1_clk_wiz inst
       (.clk_in1(clk_in1),
        .clk_out1(clk_out1),
        .clk_out2(clk_out2),
        .locked(NLW_inst_locked_UNCONNECTED),
        .reset(reset));
endmodule

(* ORIG_REF_NAME = "clk_wiz_1_clk_wiz" *) 
module clk_wiz_1_clk_wiz_1_clk_wiz
   (clk_out1,
    clk_out2,
    reset,
    locked,
    clk_in1);
  output clk_out1;
  output clk_out2;
  input reset;
  output locked;
  input clk_in1;

  wire clk_in1;
  wire clk_in1_clk_wiz_1;
  wire clk_out1;
  wire clk_out1_clk_wiz_1;
  wire clk_out2;
  wire clk_out2_clk_wiz_1;
  wire clkfbout_buf_clk_wiz_1;
  wire clkfbout_clk_wiz_1;
  wire reset;
  wire NLW_mmcm_adv_inst_CLKFBOUTB_UNCONNECTED;
  wire NLW_mmcm_adv_inst_CLKFBSTOPPED_UNCONNECTED;
  wire NLW_mmcm_adv_inst_CLKINSTOPPED_UNCONNECTED;
  wire NLW_mmcm_adv_inst_CLKOUT0B_UNCONNECTED;
  wire NLW_mmcm_adv_inst_CLKOUT1B_UNCONNECTED;
  wire NLW_mmcm_adv_inst_CLKOUT2_UNCONNECTED;
  wire NLW_mmcm_adv_inst_CLKOUT2B_UNCONNECTED;
  wire NLW_mmcm_adv_inst_CLKOUT3_UNCONNECTED;
  wire NLW_mmcm_adv_inst_CLKOUT3B_UNCONNECTED;
  wire NLW_mmcm_adv_inst_CLKOUT4_UNCONNECTED;
  wire NLW_mmcm_adv_inst_CLKOUT5_UNCONNECTED;
  wire NLW_mmcm_adv_inst_CLKOUT6_UNCONNECTED;
  wire NLW_mmcm_adv_inst_DRDY_UNCONNECTED;
  wire NLW_mmcm_adv_inst_LOCKED_UNCONNECTED;
  wire NLW_mmcm_adv_inst_PSDONE_UNCONNECTED;
  wire [15:0]NLW_mmcm_adv_inst_DO_UNCONNECTED;

  (* BOX_TYPE = "PRIMITIVE" *) 
  BUFG clkf_buf
       (.I(clkfbout_clk_wiz_1),
        .O(clkfbout_buf_clk_wiz_1));
  (* BOX_TYPE = "PRIMITIVE" *) 
  (* CAPACITANCE = "DONT_CARE" *) 
  (* IBUF_DELAY_VALUE = "0" *) 
  (* IFD_DELAY_VALUE = "AUTO" *) 
  IBUF #(
    .IOSTANDARD("DEFAULT")) 
    clkin1_ibufg
       (.I(clk_in1),
        .O(clk_in1_clk_wiz_1));
  (* BOX_TYPE = "PRIMITIVE" *) 
  BUFG clkout1_buf
       (.I(clk_out1_clk_wiz_1),
        .O(clk_out1));
  (* BOX_TYPE = "PRIMITIVE" *) 
  BUFG clkout2_buf
       (.I(clk_out2_clk_wiz_1),
        .O(clk_out2));
  (* BOX_TYPE = "PRIMITIVE" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  MMCME2_ADV #(
    .BANDWIDTH("OPTIMIZED"),
    .CLKFBOUT_MULT_F(62.375000),
    .CLKFBOUT_PHASE(0.000000),
    .CLKFBOUT_USE_FINE_PS("FALSE"),
    .CLKIN1_PERIOD(8.000000),
    .CLKIN2_PERIOD(0.000000),
    .CLKOUT0_DIVIDE_F(15.000000),
    .CLKOUT0_DUTY_CYCLE(0.500000),
    .CLKOUT0_PHASE(0.000000),
    .CLKOUT0_USE_FINE_PS("FALSE"),
    .CLKOUT1_DIVIDE(3),
    .CLKOUT1_DUTY_CYCLE(0.500000),
    .CLKOUT1_PHASE(0.000000),
    .CLKOUT1_USE_FINE_PS("FALSE"),
    .CLKOUT2_DIVIDE(1),
    .CLKOUT2_DUTY_CYCLE(0.500000),
    .CLKOUT2_PHASE(0.000000),
    .CLKOUT2_USE_FINE_PS("FALSE"),
    .CLKOUT3_DIVIDE(1),
    .CLKOUT3_DUTY_CYCLE(0.500000),
    .CLKOUT3_PHASE(0.000000),
    .CLKOUT3_USE_FINE_PS("FALSE"),
    .CLKOUT4_CASCADE("FALSE"),
    .CLKOUT4_DIVIDE(1),
    .CLKOUT4_DUTY_CYCLE(0.500000),
    .CLKOUT4_PHASE(0.000000),
    .CLKOUT4_USE_FINE_PS("FALSE"),
    .CLKOUT5_DIVIDE(1),
    .CLKOUT5_DUTY_CYCLE(0.500000),
    .CLKOUT5_PHASE(0.000000),
    .CLKOUT5_USE_FINE_PS("FALSE"),
    .CLKOUT6_DIVIDE(1),
    .CLKOUT6_DUTY_CYCLE(0.500000),
    .CLKOUT6_PHASE(0.000000),
    .CLKOUT6_USE_FINE_PS("FALSE"),
    .COMPENSATION("ZHOLD"),
    .DIVCLK_DIVIDE(7),
    .IS_CLKINSEL_INVERTED(1'b0),
    .IS_PSEN_INVERTED(1'b0),
    .IS_PSINCDEC_INVERTED(1'b0),
    .IS_PWRDWN_INVERTED(1'b0),
    .IS_RST_INVERTED(1'b0),
    .REF_JITTER1(0.010000),
    .REF_JITTER2(0.010000),
    .SS_EN("FALSE"),
    .SS_MODE("CENTER_HIGH"),
    .SS_MOD_PERIOD(10000),
    .STARTUP_WAIT("FALSE")) 
    mmcm_adv_inst
       (.CLKFBIN(clkfbout_buf_clk_wiz_1),
        .CLKFBOUT(clkfbout_clk_wiz_1),
        .CLKFBOUTB(NLW_mmcm_adv_inst_CLKFBOUTB_UNCONNECTED),
        .CLKFBSTOPPED(NLW_mmcm_adv_inst_CLKFBSTOPPED_UNCONNECTED),
        .CLKIN1(clk_in1_clk_wiz_1),
        .CLKIN2(1'b0),
        .CLKINSEL(1'b1),
        .CLKINSTOPPED(NLW_mmcm_adv_inst_CLKINSTOPPED_UNCONNECTED),
        .CLKOUT0(clk_out1_clk_wiz_1),
        .CLKOUT0B(NLW_mmcm_adv_inst_CLKOUT0B_UNCONNECTED),
        .CLKOUT1(clk_out2_clk_wiz_1),
        .CLKOUT1B(NLW_mmcm_adv_inst_CLKOUT1B_UNCONNECTED),
        .CLKOUT2(NLW_mmcm_adv_inst_CLKOUT2_UNCONNECTED),
        .CLKOUT2B(NLW_mmcm_adv_inst_CLKOUT2B_UNCONNECTED),
        .CLKOUT3(NLW_mmcm_adv_inst_CLKOUT3_UNCONNECTED),
        .CLKOUT3B(NLW_mmcm_adv_inst_CLKOUT3B_UNCONNECTED),
        .CLKOUT4(NLW_mmcm_adv_inst_CLKOUT4_UNCONNECTED),
        .CLKOUT5(NLW_mmcm_adv_inst_CLKOUT5_UNCONNECTED),
        .CLKOUT6(NLW_mmcm_adv_inst_CLKOUT6_UNCONNECTED),
        .DADDR({1'b0,1'b0,1'b0,1'b0,1'b0,1'b0,1'b0}),
        .DCLK(1'b0),
        .DEN(1'b0),
        .DI({1'b0,1'b0,1'b0,1'b0,1'b0,1'b0,1'b0,1'b0,1'b0,1'b0,1'b0,1'b0,1'b0,1'b0,1'b0,1'b0}),
        .DO(NLW_mmcm_adv_inst_DO_UNCONNECTED[15:0]),
        .DRDY(NLW_mmcm_adv_inst_DRDY_UNCONNECTED),
        .DWE(1'b0),
        .LOCKED(NLW_mmcm_adv_inst_LOCKED_UNCONNECTED),
        .PSCLK(1'b0),
        .PSDONE(NLW_mmcm_adv_inst_PSDONE_UNCONNECTED),
        .PSEN(1'b0),
        .PSINCDEC(1'b0),
        .PWRDWN(1'b0),
        .RST(reset));
endmodule

module dvi_encoder
   (de_reg,
    Q,
    CLK,
    video_de,
    c0,
    c1,
    \din_q_reg[0]_0 ,
    AR);
  output de_reg;
  output [3:0]Q;
  input CLK;
  input video_de;
  input c0;
  input c1;
  input \din_q_reg[0]_0 ;
  input [0:0]AR;

  wire [0:0]AR;
  wire CLK;
  wire [3:0]Q;
  wire c0;
  wire c0_q;
  wire c0_reg;
  wire c1;
  wire c1_q;
  wire c1_reg;
  wire [4:1]cnt;
  wire \cnt[1]_i_1__1_n_0 ;
  wire \cnt[1]_i_2__1_n_0 ;
  wire \cnt[1]_i_3__1_n_0 ;
  wire \cnt[2]_i_1__0_n_0 ;
  wire \cnt[2]_i_2__0_n_0 ;
  wire \cnt[2]_i_3__0_n_0 ;
  wire \cnt[3]_i_1__0_n_0 ;
  wire \cnt[3]_i_2__0_n_0 ;
  wire \cnt[3]_i_3__0_n_0 ;
  wire \cnt[4]_i_1__0_n_0 ;
  wire \cnt[4]_i_2__0_n_0 ;
  wire \cnt[4]_i_3__0_n_0 ;
  wire de_q;
  wire de_reg;
  wire \din_q_reg[0]_0 ;
  wire \din_q_reg_n_0_[0] ;
  wire [9:0]dout;
  wire \dout[2]_i_2__0_n_0 ;
  wire \dout[2]_i_3_n_0 ;
  wire \dout[9]_i_2__1_n_0 ;
  wire \dout[9]_i_3__0_n_0 ;
  wire [3:3]n0q_m;
  wire \n0q_m[3]_i_1_n_0 ;
  wire [3:3]n1q_m;
  wire [8:8]q_m_reg;
  wire video_de;

  FDRE #(
    .INIT(1'b0)) 
    c0_q_reg
       (.C(CLK),
        .CE(1'b1),
        .D(c0),
        .Q(c0_q),
        .R(1'b0));
  FDRE #(
    .INIT(1'b0)) 
    c0_reg_reg
       (.C(CLK),
        .CE(1'b1),
        .D(c0_q),
        .Q(c0_reg),
        .R(1'b0));
  FDRE #(
    .INIT(1'b0)) 
    c1_q_reg
       (.C(CLK),
        .CE(1'b1),
        .D(c1),
        .Q(c1_q),
        .R(1'b0));
  FDRE #(
    .INIT(1'b0)) 
    c1_reg_reg
       (.C(CLK),
        .CE(1'b1),
        .D(c1_q),
        .Q(c1_reg),
        .R(1'b0));
  LUT4 #(
    .INIT(16'hE200)) 
    \cnt[1]_i_1__1 
       (.I0(\cnt[1]_i_2__1_n_0 ),
        .I1(cnt[1]),
        .I2(\cnt[1]_i_3__1_n_0 ),
        .I3(de_reg),
        .O(\cnt[1]_i_1__1_n_0 ));
  LUT6 #(
    .INIT(64'h0F00000E00E0F000)) 
    \cnt[1]_i_2__1 
       (.I0(cnt[2]),
        .I1(cnt[3]),
        .I2(n1q_m),
        .I3(cnt[4]),
        .I4(q_m_reg),
        .I5(n0q_m),
        .O(\cnt[1]_i_2__1_n_0 ));
  LUT4 #(
    .INIT(16'hBED7)) 
    \cnt[1]_i_3__1 
       (.I0(n1q_m),
        .I1(q_m_reg),
        .I2(cnt[4]),
        .I3(n0q_m),
        .O(\cnt[1]_i_3__1_n_0 ));
  LUT4 #(
    .INIT(16'hE200)) 
    \cnt[2]_i_1__0 
       (.I0(\cnt[2]_i_2__0_n_0 ),
        .I1(cnt[1]),
        .I2(\cnt[2]_i_3__0_n_0 ),
        .I3(de_reg),
        .O(\cnt[2]_i_1__0_n_0 ));
  LUT6 #(
    .INIT(64'hAAAAA5AAAAAAAA4A)) 
    \cnt[2]_i_2__0 
       (.I0(cnt[2]),
        .I1(cnt[3]),
        .I2(n0q_m),
        .I3(cnt[4]),
        .I4(q_m_reg),
        .I5(n1q_m),
        .O(\cnt[2]_i_2__0_n_0 ));
  LUT5 #(
    .INIT(32'h9AAAA6AA)) 
    \cnt[2]_i_3__0 
       (.I0(cnt[2]),
        .I1(n1q_m),
        .I2(cnt[4]),
        .I3(q_m_reg),
        .I4(n0q_m),
        .O(\cnt[2]_i_3__0_n_0 ));
  LUT4 #(
    .INIT(16'hE200)) 
    \cnt[3]_i_1__0 
       (.I0(\cnt[3]_i_2__0_n_0 ),
        .I1(cnt[1]),
        .I2(\cnt[3]_i_3__0_n_0 ),
        .I3(de_reg),
        .O(\cnt[3]_i_1__0_n_0 ));
  LUT6 #(
    .INIT(64'hCCCC33373363CCCC)) 
    \cnt[3]_i_2__0 
       (.I0(cnt[2]),
        .I1(cnt[3]),
        .I2(cnt[4]),
        .I3(q_m_reg),
        .I4(n1q_m),
        .I5(n0q_m),
        .O(\cnt[3]_i_2__0_n_0 ));
  LUT6 #(
    .INIT(64'hFF00807F20DFFF00)) 
    \cnt[3]_i_3__0 
       (.I0(q_m_reg),
        .I1(cnt[4]),
        .I2(cnt[2]),
        .I3(cnt[3]),
        .I4(n1q_m),
        .I5(n0q_m),
        .O(\cnt[3]_i_3__0_n_0 ));
  LUT4 #(
    .INIT(16'hE200)) 
    \cnt[4]_i_1__0 
       (.I0(\cnt[4]_i_2__0_n_0 ),
        .I1(cnt[1]),
        .I2(\cnt[4]_i_3__0_n_0 ),
        .I3(de_reg),
        .O(\cnt[4]_i_1__0_n_0 ));
  LUT6 #(
    .INIT(64'hF3F33F7F03062030)) 
    \cnt[4]_i_2__0 
       (.I0(cnt[2]),
        .I1(cnt[3]),
        .I2(n1q_m),
        .I3(q_m_reg),
        .I4(n0q_m),
        .I5(cnt[4]),
        .O(\cnt[4]_i_2__0_n_0 ));
  LUT6 #(
    .INIT(64'hFF07000F0FFF0700)) 
    \cnt[4]_i_3__0 
       (.I0(q_m_reg),
        .I1(cnt[2]),
        .I2(cnt[3]),
        .I3(n1q_m),
        .I4(cnt[4]),
        .I5(n0q_m),
        .O(\cnt[4]_i_3__0_n_0 ));
  FDCE #(
    .INIT(1'b0)) 
    \cnt_reg[1] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\cnt[1]_i_1__1_n_0 ),
        .Q(cnt[1]));
  FDCE #(
    .INIT(1'b0)) 
    \cnt_reg[2] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\cnt[2]_i_1__0_n_0 ),
        .Q(cnt[2]));
  FDCE #(
    .INIT(1'b0)) 
    \cnt_reg[3] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\cnt[3]_i_1__0_n_0 ),
        .Q(cnt[3]));
  FDCE #(
    .INIT(1'b0)) 
    \cnt_reg[4] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\cnt[4]_i_1__0_n_0 ),
        .Q(cnt[4]));
  FDRE #(
    .INIT(1'b0)) 
    de_q_reg
       (.C(CLK),
        .CE(1'b1),
        .D(video_de),
        .Q(de_q),
        .R(1'b0));
  FDRE #(
    .INIT(1'b0)) 
    de_reg_reg
       (.C(CLK),
        .CE(1'b1),
        .D(de_q),
        .Q(de_reg),
        .R(1'b0));
  FDRE #(
    .INIT(1'b0)) 
    \din_q_reg[0] 
       (.C(CLK),
        .CE(1'b1),
        .D(\din_q_reg[0]_0 ),
        .Q(\din_q_reg_n_0_[0] ),
        .R(1'b0));
  (* SOFT_HLUTNM = "soft_lutpair1" *) 
  LUT3 #(
    .INIT(8'hB8)) 
    \dout[0]_i_1__0 
       (.I0(\dout[2]_i_2__0_n_0 ),
        .I1(de_reg),
        .I2(c0_reg),
        .O(dout[0]));
  (* SOFT_HLUTNM = "soft_lutpair1" *) 
  LUT3 #(
    .INIT(8'h8B)) 
    \dout[2]_i_1__0 
       (.I0(\dout[2]_i_2__0_n_0 ),
        .I1(de_reg),
        .I2(c0_reg),
        .O(dout[2]));
  LUT6 #(
    .INIT(64'hE84DFFFFE84D0000)) 
    \dout[2]_i_2__0 
       (.I0(n1q_m),
        .I1(cnt[4]),
        .I2(n0q_m),
        .I3(q_m_reg),
        .I4(cnt[1]),
        .I5(\dout[2]_i_3_n_0 ),
        .O(\dout[2]_i_2__0_n_0 ));
  LUT6 #(
    .INIT(64'hFFF0F0100F01FF0F)) 
    \dout[2]_i_3 
       (.I0(cnt[2]),
        .I1(cnt[3]),
        .I2(n1q_m),
        .I3(cnt[4]),
        .I4(n0q_m),
        .I5(q_m_reg),
        .O(\dout[2]_i_3_n_0 ));
  LUT3 #(
    .INIT(8'h8B)) 
    \dout[8]_i_1__0 
       (.I0(q_m_reg),
        .I1(de_reg),
        .I2(c0_reg),
        .O(dout[8]));
  LUT6 #(
    .INIT(64'hB8FFB800B800B8FF)) 
    \dout[9]_i_1__1 
       (.I0(\dout[9]_i_2__1_n_0 ),
        .I1(cnt[1]),
        .I2(\dout[9]_i_3__0_n_0 ),
        .I3(de_reg),
        .I4(c1_reg),
        .I5(c0_reg),
        .O(dout[9]));
  LUT4 #(
    .INIT(16'h42E7)) 
    \dout[9]_i_2__1 
       (.I0(n1q_m),
        .I1(cnt[4]),
        .I2(n0q_m),
        .I3(q_m_reg),
        .O(\dout[9]_i_2__1_n_0 ));
  LUT6 #(
    .INIT(64'h0F0000E0FFF10FFF)) 
    \dout[9]_i_3__0 
       (.I0(cnt[2]),
        .I1(cnt[3]),
        .I2(n1q_m),
        .I3(cnt[4]),
        .I4(n0q_m),
        .I5(q_m_reg),
        .O(\dout[9]_i_3__0_n_0 ));
  FDCE #(
    .INIT(1'b0)) 
    \dout_reg[0] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(dout[0]),
        .Q(Q[0]));
  FDCE #(
    .INIT(1'b0)) 
    \dout_reg[2] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(dout[2]),
        .Q(Q[1]));
  FDCE #(
    .INIT(1'b0)) 
    \dout_reg[8] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(dout[8]),
        .Q(Q[2]));
  FDCE #(
    .INIT(1'b0)) 
    \dout_reg[9] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(dout[9]),
        .Q(Q[3]));
  LUT1 #(
    .INIT(2'h1)) 
    \n0q_m[3]_i_1 
       (.I0(\din_q_reg_n_0_[0] ),
        .O(\n0q_m[3]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \n0q_m_reg[3] 
       (.C(CLK),
        .CE(1'b1),
        .D(\n0q_m[3]_i_1_n_0 ),
        .Q(n0q_m),
        .R(1'b0));
  FDRE #(
    .INIT(1'b0)) 
    \n1q_m_reg[3] 
       (.C(CLK),
        .CE(1'b1),
        .D(\din_q_reg_n_0_[0] ),
        .Q(n1q_m),
        .R(1'b0));
  FDRE #(
    .INIT(1'b0)) 
    \q_m_reg_reg[8] 
       (.C(CLK),
        .CE(1'b1),
        .D(\n0q_m[3]_i_1_n_0 ),
        .Q(q_m_reg),
        .R(1'b0));
endmodule

(* ORIG_REF_NAME = "dvi_encoder" *) 
module dvi_encoder_0
   (Q,
    \cnt_reg[1]_0 ,
    de_reg,
    \cnt_reg[1]_1 ,
    \cnt_reg[1]_2 ,
    CLK,
    AR);
  output [2:0]Q;
  input \cnt_reg[1]_0 ;
  input de_reg;
  input \cnt_reg[1]_1 ;
  input \cnt_reg[1]_2 ;
  input CLK;
  input [0:0]AR;

  wire [0:0]AR;
  wire CLK;
  wire [2:0]Q;
  wire [4:1]cnt;
  wire \cnt[1]_i_1_n_0 ;
  wire \cnt[1]_i_2_n_0 ;
  wire \cnt[1]_i_3_n_0 ;
  wire \cnt[2]_i_1__1_n_0 ;
  wire \cnt[2]_i_2__1_n_0 ;
  wire \cnt[2]_i_3__1_n_0 ;
  wire \cnt[3]_i_1__1_n_0 ;
  wire \cnt[3]_i_2__1_n_0 ;
  wire \cnt[3]_i_3__1_n_0 ;
  wire \cnt[4]_i_1__1_n_0 ;
  wire \cnt[4]_i_2__1_n_0 ;
  wire \cnt[4]_i_3__1_n_0 ;
  wire \cnt_reg[1]_0 ;
  wire \cnt_reg[1]_1 ;
  wire \cnt_reg[1]_2 ;
  wire de_reg;
  wire \dout[0]_i_1__1_n_0 ;
  wire \dout[2]_i_1__1_n_0 ;
  wire \dout[2]_i_2__1_n_0 ;
  wire \dout[9]_i_1_n_0 ;
  wire \dout[9]_i_2_n_0 ;
  wire \dout[9]_i_3_n_0 ;

  LUT4 #(
    .INIT(16'hE200)) 
    \cnt[1]_i_1 
       (.I0(\cnt[1]_i_2_n_0 ),
        .I1(\cnt_reg[1]_0 ),
        .I2(\cnt[1]_i_3_n_0 ),
        .I3(de_reg),
        .O(\cnt[1]_i_1_n_0 ));
  LUT6 #(
    .INIT(64'h55AAFFFFAA540000)) 
    \cnt[1]_i_2 
       (.I0(cnt[4]),
        .I1(cnt[3]),
        .I2(cnt[2]),
        .I3(\cnt_reg[1]_1 ),
        .I4(\cnt_reg[1]_2 ),
        .I5(cnt[1]),
        .O(\cnt[1]_i_2_n_0 ));
  LUT6 #(
    .INIT(64'hEE11BB44EE10BB44)) 
    \cnt[1]_i_3 
       (.I0(\cnt_reg[1]_2 ),
        .I1(cnt[4]),
        .I2(cnt[3]),
        .I3(cnt[1]),
        .I4(\cnt_reg[1]_1 ),
        .I5(cnt[2]),
        .O(\cnt[1]_i_3_n_0 ));
  LUT4 #(
    .INIT(16'hE200)) 
    \cnt[2]_i_1__1 
       (.I0(\cnt[2]_i_2__1_n_0 ),
        .I1(\cnt_reg[1]_0 ),
        .I2(\cnt[2]_i_3__1_n_0 ),
        .I3(de_reg),
        .O(\cnt[2]_i_1__1_n_0 ));
  LUT6 #(
    .INIT(64'h5FFAFFFFA0040000)) 
    \cnt[2]_i_2__1 
       (.I0(cnt[4]),
        .I1(cnt[3]),
        .I2(cnt[1]),
        .I3(\cnt_reg[1]_1 ),
        .I4(\cnt_reg[1]_2 ),
        .I5(cnt[2]),
        .O(\cnt[2]_i_2__1_n_0 ));
  LUT5 #(
    .INIT(32'hEFFB1004)) 
    \cnt[2]_i_3__1 
       (.I0(\cnt_reg[1]_2 ),
        .I1(cnt[4]),
        .I2(\cnt_reg[1]_1 ),
        .I3(cnt[1]),
        .I4(cnt[2]),
        .O(\cnt[2]_i_3__1_n_0 ));
  LUT4 #(
    .INIT(16'hE200)) 
    \cnt[3]_i_1__1 
       (.I0(\cnt[3]_i_2__1_n_0 ),
        .I1(\cnt_reg[1]_0 ),
        .I2(\cnt[3]_i_3__1_n_0 ),
        .I3(de_reg),
        .O(\cnt[3]_i_1__1_n_0 ));
  LUT6 #(
    .INIT(64'h8001FFFF7FFF0000)) 
    \cnt[3]_i_2__1 
       (.I0(cnt[4]),
        .I1(cnt[1]),
        .I2(cnt[2]),
        .I3(\cnt_reg[1]_1 ),
        .I4(\cnt_reg[1]_2 ),
        .I5(cnt[3]),
        .O(\cnt[3]_i_2__1_n_0 ));
  LUT6 #(
    .INIT(64'hB4A5A5A5A5A5A5E1)) 
    \cnt[3]_i_3__1 
       (.I0(\cnt_reg[1]_2 ),
        .I1(cnt[4]),
        .I2(cnt[3]),
        .I3(\cnt_reg[1]_1 ),
        .I4(cnt[2]),
        .I5(cnt[1]),
        .O(\cnt[3]_i_3__1_n_0 ));
  LUT4 #(
    .INIT(16'hE200)) 
    \cnt[4]_i_1__1 
       (.I0(\cnt[4]_i_2__1_n_0 ),
        .I1(\cnt_reg[1]_0 ),
        .I2(\cnt[4]_i_3__1_n_0 ),
        .I3(de_reg),
        .O(\cnt[4]_i_1__1_n_0 ));
  LUT6 #(
    .INIT(64'h1555FFFF55560000)) 
    \cnt[4]_i_2__1 
       (.I0(cnt[3]),
        .I1(cnt[2]),
        .I2(\cnt_reg[1]_1 ),
        .I3(cnt[1]),
        .I4(\cnt_reg[1]_2 ),
        .I5(cnt[4]),
        .O(\cnt[4]_i_2__1_n_0 ));
  LUT6 #(
    .INIT(64'h8888888CCDDDDDCD)) 
    \cnt[4]_i_3__1 
       (.I0(\cnt_reg[1]_2 ),
        .I1(cnt[4]),
        .I2(\cnt_reg[1]_1 ),
        .I3(cnt[2]),
        .I4(cnt[1]),
        .I5(cnt[3]),
        .O(\cnt[4]_i_3__1_n_0 ));
  FDCE #(
    .INIT(1'b0)) 
    \cnt_reg[1] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\cnt[1]_i_1_n_0 ),
        .Q(cnt[1]));
  FDCE #(
    .INIT(1'b0)) 
    \cnt_reg[2] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\cnt[2]_i_1__1_n_0 ),
        .Q(cnt[2]));
  FDCE #(
    .INIT(1'b0)) 
    \cnt_reg[3] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\cnt[3]_i_1__1_n_0 ),
        .Q(cnt[3]));
  FDCE #(
    .INIT(1'b0)) 
    \cnt_reg[4] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\cnt[4]_i_1__1_n_0 ),
        .Q(cnt[4]));
  (* SOFT_HLUTNM = "soft_lutpair2" *) 
  LUT4 #(
    .INIT(16'hB800)) 
    \dout[0]_i_1__1 
       (.I0(\dout[2]_i_2__1_n_0 ),
        .I1(\cnt_reg[1]_0 ),
        .I2(\dout[9]_i_2_n_0 ),
        .I3(de_reg),
        .O(\dout[0]_i_1__1_n_0 ));
  (* SOFT_HLUTNM = "soft_lutpair2" *) 
  LUT4 #(
    .INIT(16'hB8FF)) 
    \dout[2]_i_1__1 
       (.I0(\dout[2]_i_2__1_n_0 ),
        .I1(\cnt_reg[1]_0 ),
        .I2(\dout[9]_i_2_n_0 ),
        .I3(de_reg),
        .O(\dout[2]_i_1__1_n_0 ));
  LUT6 #(
    .INIT(64'hFF55FF55AA00AB00)) 
    \dout[2]_i_2__1 
       (.I0(\cnt_reg[1]_2 ),
        .I1(cnt[3]),
        .I2(cnt[2]),
        .I3(\cnt_reg[1]_1 ),
        .I4(cnt[1]),
        .I5(cnt[4]),
        .O(\dout[2]_i_2__1_n_0 ));
  LUT4 #(
    .INIT(16'hE2FF)) 
    \dout[9]_i_1 
       (.I0(\dout[9]_i_2_n_0 ),
        .I1(\cnt_reg[1]_0 ),
        .I2(\dout[9]_i_3_n_0 ),
        .I3(de_reg),
        .O(\dout[9]_i_1_n_0 ));
  LUT6 #(
    .INIT(64'hFF000000FF01FFFF)) 
    \dout[9]_i_2 
       (.I0(cnt[3]),
        .I1(cnt[2]),
        .I2(cnt[1]),
        .I3(cnt[4]),
        .I4(\cnt_reg[1]_2 ),
        .I5(\cnt_reg[1]_1 ),
        .O(\dout[9]_i_2_n_0 ));
  LUT6 #(
    .INIT(64'h0A0A0A0A5F5F5F4F)) 
    \dout[9]_i_3 
       (.I0(\cnt_reg[1]_2 ),
        .I1(cnt[3]),
        .I2(\cnt_reg[1]_1 ),
        .I3(cnt[2]),
        .I4(cnt[1]),
        .I5(cnt[4]),
        .O(\dout[9]_i_3_n_0 ));
  FDCE #(
    .INIT(1'b0)) 
    \dout_reg[0] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\dout[0]_i_1__1_n_0 ),
        .Q(Q[0]));
  FDCE #(
    .INIT(1'b0)) 
    \dout_reg[2] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\dout[2]_i_1__1_n_0 ),
        .Q(Q[1]));
  FDCE #(
    .INIT(1'b0)) 
    \dout_reg[9] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\dout[9]_i_1_n_0 ),
        .Q(Q[2]));
endmodule

(* ORIG_REF_NAME = "dvi_encoder" *) 
module dvi_encoder_1
   (\n0q_m_reg[3]_0 ,
    \n1q_m_reg[3]_0 ,
    paralell_data,
    \q_m_reg_reg[8]_0 ,
    \din_q_reg[0]_0 ,
    CLK,
    AR,
    de_reg);
  output \n0q_m_reg[3]_0 ;
  output \n1q_m_reg[3]_0 ;
  output [3:0]paralell_data;
  output \q_m_reg_reg[8]_0 ;
  input \din_q_reg[0]_0 ;
  input CLK;
  input [0:0]AR;
  input de_reg;

  wire [0:0]AR;
  wire CLK;
  wire [4:1]cnt;
  wire \cnt[1]_i_1__0_n_0 ;
  wire \cnt[1]_i_2__0_n_0 ;
  wire \cnt[1]_i_3__0_n_0 ;
  wire \cnt[2]_i_1_n_0 ;
  wire \cnt[2]_i_2_n_0 ;
  wire \cnt[2]_i_3_n_0 ;
  wire \cnt[3]_i_1_n_0 ;
  wire \cnt[3]_i_2_n_0 ;
  wire \cnt[3]_i_3_n_0 ;
  wire \cnt[4]_i_1_n_0 ;
  wire \cnt[4]_i_2_n_0 ;
  wire \cnt[4]_i_3_n_0 ;
  wire de_reg;
  wire \din_q_reg[0]_0 ;
  wire \din_q_reg_n_0_[0] ;
  wire \dout[0]_i_1_n_0 ;
  wire \dout[2]_i_1_n_0 ;
  wire \dout[2]_i_2_n_0 ;
  wire \dout[8]_i_1_n_0 ;
  wire \dout[9]_i_1__0_n_0 ;
  wire \dout[9]_i_2__0_n_0 ;
  wire \dout[9]_i_3__1_n_0 ;
  wire \n0q_m[3]_i_1__0_n_0 ;
  wire \n0q_m_reg[3]_0 ;
  wire \n1q_m_reg[3]_0 ;
  wire [3:0]paralell_data;
  wire \q_m_reg_reg[8]_0 ;

  (* SOFT_HLUTNM = "soft_lutpair4" *) 
  LUT4 #(
    .INIT(16'hE200)) 
    \cnt[1]_i_1__0 
       (.I0(\cnt[1]_i_2__0_n_0 ),
        .I1(\n1q_m_reg[3]_0 ),
        .I2(\cnt[1]_i_3__0_n_0 ),
        .I3(de_reg),
        .O(\cnt[1]_i_1__0_n_0 ));
  LUT6 #(
    .INIT(64'h5A5AFFFFA5A40000)) 
    \cnt[1]_i_2__0 
       (.I0(cnt[4]),
        .I1(cnt[3]),
        .I2(\q_m_reg_reg[8]_0 ),
        .I3(cnt[2]),
        .I4(\n0q_m_reg[3]_0 ),
        .I5(cnt[1]),
        .O(\cnt[1]_i_2__0_n_0 ));
  LUT6 #(
    .INIT(64'hEEEEBBBB11104444)) 
    \cnt[1]_i_3__0 
       (.I0(\n0q_m_reg[3]_0 ),
        .I1(cnt[4]),
        .I2(cnt[3]),
        .I3(cnt[2]),
        .I4(\q_m_reg_reg[8]_0 ),
        .I5(cnt[1]),
        .O(\cnt[1]_i_3__0_n_0 ));
  (* SOFT_HLUTNM = "soft_lutpair5" *) 
  LUT4 #(
    .INIT(16'hE200)) 
    \cnt[2]_i_1 
       (.I0(\cnt[2]_i_2_n_0 ),
        .I1(\n1q_m_reg[3]_0 ),
        .I2(\cnt[2]_i_3_n_0 ),
        .I3(de_reg),
        .O(\cnt[2]_i_1_n_0 ));
  LUT6 #(
    .INIT(64'h5FFAFFFFA0040000)) 
    \cnt[2]_i_2 
       (.I0(cnt[4]),
        .I1(cnt[3]),
        .I2(\q_m_reg_reg[8]_0 ),
        .I3(cnt[1]),
        .I4(\n0q_m_reg[3]_0 ),
        .I5(cnt[2]),
        .O(\cnt[2]_i_2_n_0 ));
  LUT5 #(
    .INIT(32'hEFFB1004)) 
    \cnt[2]_i_3 
       (.I0(\n0q_m_reg[3]_0 ),
        .I1(cnt[4]),
        .I2(cnt[1]),
        .I3(\q_m_reg_reg[8]_0 ),
        .I4(cnt[2]),
        .O(\cnt[2]_i_3_n_0 ));
  (* SOFT_HLUTNM = "soft_lutpair6" *) 
  LUT4 #(
    .INIT(16'hE200)) 
    \cnt[3]_i_1 
       (.I0(\cnt[3]_i_2_n_0 ),
        .I1(\n1q_m_reg[3]_0 ),
        .I2(\cnt[3]_i_3_n_0 ),
        .I3(de_reg),
        .O(\cnt[3]_i_1_n_0 ));
  LUT6 #(
    .INIT(64'h8001FFFF7FFF0000)) 
    \cnt[3]_i_2 
       (.I0(cnt[4]),
        .I1(\q_m_reg_reg[8]_0 ),
        .I2(cnt[1]),
        .I3(cnt[2]),
        .I4(\n0q_m_reg[3]_0 ),
        .I5(cnt[3]),
        .O(\cnt[3]_i_2_n_0 ));
  LUT6 #(
    .INIT(64'hB4A5A5A5A5A5A5E1)) 
    \cnt[3]_i_3 
       (.I0(\n0q_m_reg[3]_0 ),
        .I1(cnt[4]),
        .I2(cnt[3]),
        .I3(cnt[2]),
        .I4(cnt[1]),
        .I5(\q_m_reg_reg[8]_0 ),
        .O(\cnt[3]_i_3_n_0 ));
  (* SOFT_HLUTNM = "soft_lutpair7" *) 
  LUT4 #(
    .INIT(16'hE200)) 
    \cnt[4]_i_1 
       (.I0(\cnt[4]_i_2_n_0 ),
        .I1(\n1q_m_reg[3]_0 ),
        .I2(\cnt[4]_i_3_n_0 ),
        .I3(de_reg),
        .O(\cnt[4]_i_1_n_0 ));
  LUT6 #(
    .INIT(64'h1555FFFF55560000)) 
    \cnt[4]_i_2 
       (.I0(cnt[3]),
        .I1(cnt[1]),
        .I2(cnt[2]),
        .I3(\q_m_reg_reg[8]_0 ),
        .I4(\n0q_m_reg[3]_0 ),
        .I5(cnt[4]),
        .O(\cnt[4]_i_2_n_0 ));
  LUT6 #(
    .INIT(64'h8888888CCDDDDDCD)) 
    \cnt[4]_i_3 
       (.I0(\n0q_m_reg[3]_0 ),
        .I1(cnt[4]),
        .I2(\q_m_reg_reg[8]_0 ),
        .I3(cnt[2]),
        .I4(cnt[1]),
        .I5(cnt[3]),
        .O(\cnt[4]_i_3_n_0 ));
  FDCE #(
    .INIT(1'b0)) 
    \cnt_reg[1] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\cnt[1]_i_1__0_n_0 ),
        .Q(cnt[1]));
  FDCE #(
    .INIT(1'b0)) 
    \cnt_reg[2] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\cnt[2]_i_1_n_0 ),
        .Q(cnt[2]));
  FDCE #(
    .INIT(1'b0)) 
    \cnt_reg[3] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\cnt[3]_i_1_n_0 ),
        .Q(cnt[3]));
  FDCE #(
    .INIT(1'b0)) 
    \cnt_reg[4] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\cnt[4]_i_1_n_0 ),
        .Q(cnt[4]));
  FDRE #(
    .INIT(1'b0)) 
    \din_q_reg[0] 
       (.C(CLK),
        .CE(1'b1),
        .D(\din_q_reg[0]_0 ),
        .Q(\din_q_reg_n_0_[0] ),
        .R(1'b0));
  (* SOFT_HLUTNM = "soft_lutpair4" *) 
  LUT2 #(
    .INIT(4'h8)) 
    \dout[0]_i_1 
       (.I0(\dout[2]_i_2_n_0 ),
        .I1(de_reg),
        .O(\dout[0]_i_1_n_0 ));
  (* SOFT_HLUTNM = "soft_lutpair5" *) 
  LUT2 #(
    .INIT(4'hB)) 
    \dout[2]_i_1 
       (.I0(\dout[2]_i_2_n_0 ),
        .I1(de_reg),
        .O(\dout[2]_i_1_n_0 ));
  LUT6 #(
    .INIT(64'hFFAAAA205510FF55)) 
    \dout[2]_i_2 
       (.I0(\n1q_m_reg[3]_0 ),
        .I1(cnt[3]),
        .I2(\dout[9]_i_3__1_n_0 ),
        .I3(cnt[4]),
        .I4(\n0q_m_reg[3]_0 ),
        .I5(\q_m_reg_reg[8]_0 ),
        .O(\dout[2]_i_2_n_0 ));
  (* SOFT_HLUTNM = "soft_lutpair7" *) 
  LUT2 #(
    .INIT(4'hB)) 
    \dout[8]_i_1 
       (.I0(\q_m_reg_reg[8]_0 ),
        .I1(de_reg),
        .O(\dout[8]_i_1_n_0 ));
  (* SOFT_HLUTNM = "soft_lutpair6" *) 
  LUT2 #(
    .INIT(4'hB)) 
    \dout[9]_i_1__0 
       (.I0(\dout[9]_i_2__0_n_0 ),
        .I1(de_reg),
        .O(\dout[9]_i_1__0_n_0 ));
  LUT6 #(
    .INIT(64'h5500008AFFBA55FF)) 
    \dout[9]_i_2__0 
       (.I0(\n1q_m_reg[3]_0 ),
        .I1(cnt[3]),
        .I2(\dout[9]_i_3__1_n_0 ),
        .I3(cnt[4]),
        .I4(\n0q_m_reg[3]_0 ),
        .I5(\q_m_reg_reg[8]_0 ),
        .O(\dout[9]_i_2__0_n_0 ));
  LUT2 #(
    .INIT(4'h1)) 
    \dout[9]_i_3__1 
       (.I0(cnt[1]),
        .I1(cnt[2]),
        .O(\dout[9]_i_3__1_n_0 ));
  FDCE #(
    .INIT(1'b0)) 
    \dout_reg[0] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\dout[0]_i_1_n_0 ),
        .Q(paralell_data[1]));
  FDCE #(
    .INIT(1'b0)) 
    \dout_reg[2] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\dout[2]_i_1_n_0 ),
        .Q(paralell_data[0]));
  FDCE #(
    .INIT(1'b0)) 
    \dout_reg[8] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\dout[8]_i_1_n_0 ),
        .Q(paralell_data[2]));
  FDCE #(
    .INIT(1'b0)) 
    \dout_reg[9] 
       (.C(CLK),
        .CE(1'b1),
        .CLR(AR),
        .D(\dout[9]_i_1__0_n_0 ),
        .Q(paralell_data[3]));
  LUT1 #(
    .INIT(2'h1)) 
    \n0q_m[3]_i_1__0 
       (.I0(\din_q_reg_n_0_[0] ),
        .O(\n0q_m[3]_i_1__0_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \n0q_m_reg[3] 
       (.C(CLK),
        .CE(1'b1),
        .D(\n0q_m[3]_i_1__0_n_0 ),
        .Q(\n0q_m_reg[3]_0 ),
        .R(1'b0));
  FDRE #(
    .INIT(1'b0)) 
    \n1q_m_reg[3] 
       (.C(CLK),
        .CE(1'b1),
        .D(\din_q_reg_n_0_[0] ),
        .Q(\n1q_m_reg[3]_0 ),
        .R(1'b0));
  FDRE #(
    .INIT(1'b0)) 
    \q_m_reg_reg[8] 
       (.C(CLK),
        .CE(1'b1),
        .D(\n0q_m[3]_i_1__0_n_0 ),
        .Q(\q_m_reg_reg[8]_0 ),
        .R(1'b0));
endmodule

module dvi_transmitter_top
   (TMDS_data_p,
    TMDS_data_n,
    TMDS_clk_p,
    TMDS_clk_n,
    CLK,
    sys_rst_IBUF,
    video_de,
    c0,
    c1,
    \din_q_reg[0] ,
    \din_q_reg[0]_0 ,
    serial_clk_5x);
  output [2:0]TMDS_data_p;
  output [2:0]TMDS_data_n;
  output TMDS_clk_p;
  output TMDS_clk_n;
  input CLK;
  input sys_rst_IBUF;
  input video_de;
  input c0;
  input c1;
  input \din_q_reg[0] ;
  input \din_q_reg[0]_0 ;
  input serial_clk_5x;

  wire CLK;
  wire TMDS_clk_n;
  wire TMDS_clk_p;
  wire [2:0]TMDS_data_n;
  wire [2:0]TMDS_data_p;
  wire [9:0]blue_10bit;
  wire c0;
  wire c1;
  wire de_reg;
  wire \din_q_reg[0] ;
  wire \din_q_reg[0]_0 ;
  wire encoder_r_n_0;
  wire encoder_r_n_1;
  wire encoder_r_n_6;
  wire [9:0]green_10bit;
  wire [9:0]red_10bit;
  wire reset;
  wire serial_clk_5x;
  wire sys_rst_IBUF;
  wire tmds_clk_serial;
  wire tmds_data_serial_0;
  wire tmds_data_serial_1;
  wire tmds_data_serial_2;
  wire video_de;

  (* BOX_TYPE = "PRIMITIVE" *) 
  (* CAPACITANCE = "DONT_CARE" *) 
  OBUFDS TMDS0
       (.I(tmds_data_serial_0),
        .O(TMDS_data_p[0]),
        .OB(TMDS_data_n[0]));
  (* BOX_TYPE = "PRIMITIVE" *) 
  (* CAPACITANCE = "DONT_CARE" *) 
  OBUFDS TMDS1
       (.I(tmds_data_serial_1),
        .O(TMDS_data_p[1]),
        .OB(TMDS_data_n[1]));
  (* BOX_TYPE = "PRIMITIVE" *) 
  (* CAPACITANCE = "DONT_CARE" *) 
  OBUFDS TMDS2
       (.I(tmds_data_serial_2),
        .O(TMDS_data_p[2]),
        .OB(TMDS_data_n[2]));
  (* BOX_TYPE = "PRIMITIVE" *) 
  (* CAPACITANCE = "DONT_CARE" *) 
  OBUFDS TMDS3
       (.I(tmds_clk_serial),
        .O(TMDS_clk_p),
        .OB(TMDS_clk_n));
  dvi_encoder encoder_b
       (.AR(reset),
        .CLK(CLK),
        .Q({blue_10bit[9:8],blue_10bit[2],blue_10bit[0]}),
        .c0(c0),
        .c1(c1),
        .de_reg(de_reg),
        .\din_q_reg[0]_0 (\din_q_reg[0] ),
        .video_de(video_de));
  dvi_encoder_0 encoder_g
       (.AR(reset),
        .CLK(CLK),
        .Q({green_10bit[9],green_10bit[2],green_10bit[0]}),
        .\cnt_reg[1]_0 (encoder_r_n_1),
        .\cnt_reg[1]_1 (encoder_r_n_6),
        .\cnt_reg[1]_2 (encoder_r_n_0),
        .de_reg(de_reg));
  dvi_encoder_1 encoder_r
       (.AR(reset),
        .CLK(CLK),
        .de_reg(de_reg),
        .\din_q_reg[0]_0 (\din_q_reg[0]_0 ),
        .\n0q_m_reg[3]_0 (encoder_r_n_0),
        .\n1q_m_reg[3]_0 (encoder_r_n_1),
        .paralell_data({red_10bit[9:8],red_10bit[0],red_10bit[2]}),
        .\q_m_reg_reg[8]_0 (encoder_r_n_6));
  asyn_rst_syn reset_syn
       (.AR(reset),
        .CLK(CLK),
        .sys_rst_IBUF(sys_rst_IBUF));
  serializer_10_to_1 serializer_b
       (.AR(reset),
        .CLK(CLK),
        .paralell_data({blue_10bit[9:8],blue_10bit[0],blue_10bit[2]}),
        .serial_clk_5x(serial_clk_5x),
        .serial_data_out(tmds_data_serial_0));
  serializer_10_to_1_2 serializer_clk
       (.AR(reset),
        .CLK(CLK),
        .serial_clk_5x(serial_clk_5x),
        .serial_data_out(tmds_clk_serial));
  serializer_10_to_1_3 serializer_g
       (.AR(reset),
        .CLK(CLK),
        .paralell_data({green_10bit[9],red_10bit[8],green_10bit[0],green_10bit[2]}),
        .serial_clk_5x(serial_clk_5x),
        .serial_data_out(tmds_data_serial_1));
  serializer_10_to_1_4 serializer_r
       (.AR(reset),
        .CLK(CLK),
        .paralell_data({red_10bit[9:8],red_10bit[0],red_10bit[2]}),
        .serial_clk_5x(serial_clk_5x),
        .serial_data_out(tmds_data_serial_2));
endmodule

(* ECO_CHECKSUM = "3fc835" *) 
(* NotValidForBitStream *)
module hdmi_block_move_top
   (sys_clk,
    sys_rst,
    hdmi_oen,
    TMDS_clk_n,
    TMDS_clk_p,
    TMDS_data_n,
    TMDS_data_p);
  input sys_clk;
  input sys_rst;
  output hdmi_oen;
  output TMDS_clk_n;
  output TMDS_clk_p;
  output [2:0]TMDS_data_n;
  output [2:0]TMDS_data_p;

  wire TMDS_clk_n;
  wire TMDS_clk_p;
  wire [2:0]TMDS_data_n;
  wire [2:0]TMDS_data_p;
  wire [10:0]block_x_reg;
  wire [9:0]block_y_reg;
  wire c0;
  wire c1;
  wire hdmi_oen;
  wire pixel_clk;
  wire pixel_clk_5x;
  wire [16:16]pixel_data;
  wire [10:2]pixel_xpos_w;
  wire [9:0]pixel_ypos_w;
  (* IBUF_LOW_PWR *) wire sys_clk;
  wire sys_rst;
  wire sys_rst_IBUF;
  wire u_rgb_display_n_21;
  wire u_rgb_display_n_22;
  wire u_rgb_display_n_23;
  wire u_rgb_display_n_24;
  wire u_rgb_display_n_25;
  wire u_rgb_display_n_26;
  wire u_rgb_display_n_27;
  wire u_rgb_driver_n_0;
  wire u_rgb_driver_n_1;
  wire u_rgb_driver_n_15;
  wire u_rgb_driver_n_16;
  wire u_rgb_driver_n_17;
  wire u_rgb_driver_n_18;
  wire u_rgb_driver_n_2;
  wire u_rgb_driver_n_20;
  wire u_rgb_driver_n_21;
  wire u_rgb_driver_n_22;
  wire u_rgb_driver_n_23;
  wire u_rgb_driver_n_24;
  wire u_rgb_driver_n_25;
  wire u_rgb_driver_n_26;
  wire u_rgb_driver_n_27;
  wire u_rgb_driver_n_28;
  wire u_rgb_driver_n_29;
  wire u_rgb_driver_n_3;
  wire u_rgb_driver_n_30;
  wire u_rgb_driver_n_31;
  wire u_rgb_driver_n_32;
  wire u_rgb_driver_n_33;
  wire u_rgb_driver_n_34;
  wire u_rgb_driver_n_35;
  wire u_rgb_driver_n_36;
  wire u_rgb_driver_n_37;
  wire u_rgb_driver_n_4;
  wire u_rgb_driver_n_47;
  wire u_rgb_driver_n_5;
  wire u_rgb_driver_n_51;
  wire u_rgb_driver_n_52;
  wire u_rgb_driver_n_53;
  wire u_rgb_driver_n_54;
  wire u_rgb_driver_n_55;
  wire u_rgb_driver_n_56;
  wire u_rgb_driver_n_57;
  wire u_rgb_driver_n_58;
  wire u_rgb_driver_n_59;
  wire u_rgb_driver_n_60;
  wire u_rgb_driver_n_61;
  wire u_rgb_driver_n_62;
  wire u_rgb_driver_n_63;
  wire u_rgb_driver_n_64;
  wire video_de;
  wire NLW_clk_wiz_1_locked_UNCONNECTED;

initial begin
 $sdf_annotate("hdmi_block_move_top_time_impl.sdf",,,,"tool_control");
end
  (* IMPORTED_FROM = "d:/FPGA_code/vivado_code/14_hdmi_block_move/hdmi_block_move.srcs/sources_1/ip/clk_wiz_1/clk_wiz_1.dcp" *) 
  (* IMPORTED_TYPE = "CHECKPOINT" *) 
  (* IS_IMPORTED *) 
  clk_wiz_1 clk_wiz_1
       (.clk_in1(sys_clk),
        .clk_out1(pixel_clk),
        .clk_out2(pixel_clk_5x),
        .locked(NLW_clk_wiz_1_locked_UNCONNECTED),
        .reset(sys_rst_IBUF));
  OBUF hdmi_oen_OBUF_inst
       (.I(1'b1),
        .O(hdmi_oen));
  IBUF sys_rst_IBUF_inst
       (.I(sys_rst),
        .O(sys_rst_IBUF));
  dvi_transmitter_top u_rgb2dvi_0
       (.CLK(pixel_clk),
        .TMDS_clk_n(TMDS_clk_n),
        .TMDS_clk_p(TMDS_clk_p),
        .TMDS_data_n(TMDS_data_n),
        .TMDS_data_p(TMDS_data_p),
        .c0(c0),
        .c1(c1),
        .\din_q_reg[0] (u_rgb_driver_n_63),
        .\din_q_reg[0]_0 (u_rgb_driver_n_64),
        .serial_clk_5x(pixel_clk_5x),
        .sys_rst_IBUF(sys_rst_IBUF),
        .video_de(video_de));
  rgb_display u_rgb_display
       (.CLK(pixel_clk),
        .D(pixel_data),
        .DI({u_rgb_driver_n_51,u_rgb_driver_n_52}),
        .Q(block_x_reg),
        .S({u_rgb_driver_n_53,u_rgb_driver_n_54,u_rgb_driver_n_55,u_rgb_driver_n_56}),
        .\_inferred__1/i__carry__0_0 (u_rgb_driver_n_23),
        .\_inferred__1/i__carry__0_1 (u_rgb_driver_n_4),
        .\_inferred__1/i__carry__0_2 (u_rgb_driver_n_5),
        .\_inferred__1/i__carry__1_0 (u_rgb_driver_n_57),
        .\_inferred__2/i__carry__0_0 ({u_rgb_driver_n_62,pixel_ypos_w[2:0]}),
        .\_inferred__2/i__carry__0_1 ({u_rgb_driver_n_34,u_rgb_driver_n_35,u_rgb_driver_n_36,u_rgb_driver_n_37}),
        .\_inferred__2/i__carry__1_0 (u_rgb_driver_n_60),
        .\block_x_reg[3]_0 (u_rgb_display_n_25),
        .\block_x_reg[5]_0 (u_rgb_display_n_24),
        .\block_x_reg[7]_0 (u_rgb_display_n_22),
        .\block_y_reg[7]_0 (u_rgb_display_n_23),
        .\block_y_reg[9]_0 (block_y_reg),
        .pixel_data3_carry__0_0({u_rgb_driver_n_27,u_rgb_driver_n_28,u_rgb_driver_n_29}),
        .pixel_data3_carry__0_1({u_rgb_driver_n_30,u_rgb_driver_n_31,u_rgb_driver_n_32,u_rgb_driver_n_33}),
        .pixel_data4_carry__0_0({u_rgb_driver_n_0,u_rgb_driver_n_1,u_rgb_driver_n_2,u_rgb_driver_n_3}),
        .pixel_data4_carry__0_1({u_rgb_driver_n_15,u_rgb_driver_n_16,u_rgb_driver_n_17,u_rgb_driver_n_18}),
        .\pixel_data[16]_i_6_0 ({u_rgb_driver_n_58,u_rgb_driver_n_59}),
        .\pixel_data[16]_i_6_1 (u_rgb_driver_n_47),
        .\pixel_data[16]_i_6_2 (u_rgb_driver_n_61),
        .\pixel_data[16]_i_6_3 ({u_rgb_driver_n_24,u_rgb_driver_n_25}),
        .\pixel_data[16]_i_6_4 (u_rgb_driver_n_26),
        .\pixel_data_reg[0]_0 (u_rgb_display_n_27),
        .\pixel_data_reg[0]_1 (u_rgb_driver_n_21),
        .\pixel_data_reg[0]_2 (u_rgb_driver_n_20),
        .\pixel_data_reg[0]_3 (u_rgb_driver_n_22),
        .\pixel_data_reg[16]_0 (u_rgb_display_n_26),
        .pixel_xpos_w(pixel_xpos_w),
        .pixel_ypos_w(pixel_ypos_w[9:4]),
        .sys_rst(u_rgb_display_n_21),
        .sys_rst_IBUF(sys_rst_IBUF));
  rgb_driver u_rgb_driver
       (.CLK(pixel_clk),
        .D(pixel_data),
        .DI({u_rgb_driver_n_51,u_rgb_driver_n_52}),
        .Q(block_x_reg),
        .S({u_rgb_driver_n_53,u_rgb_driver_n_54,u_rgb_driver_n_55,u_rgb_driver_n_56}),
        .\_inferred__1/i__carry__0 (u_rgb_display_n_25),
        .\_inferred__1/i__carry__1 (u_rgb_display_n_24),
        .\_inferred__1/i__carry__1_0 (u_rgb_display_n_22),
        .\_inferred__2/i__carry__1 (u_rgb_display_n_23),
        .\block_x_reg[10] ({u_rgb_driver_n_24,u_rgb_driver_n_25}),
        .\block_x_reg[7] ({u_rgb_driver_n_0,u_rgb_driver_n_1,u_rgb_driver_n_2,u_rgb_driver_n_3}),
        .\block_y_reg[5] ({u_rgb_driver_n_27,u_rgb_driver_n_28,u_rgb_driver_n_29}),
        .\block_y_reg[7] ({u_rgb_driver_n_30,u_rgb_driver_n_31,u_rgb_driver_n_32,u_rgb_driver_n_33}),
        .\block_y_reg[8] (u_rgb_driver_n_47),
        .c0(c0),
        .c1(c1),
        .\cnt_h_reg[10]_0 (u_rgb_driver_n_63),
        .\cnt_h_reg[10]_1 (u_rgb_driver_n_64),
        .\cnt_h_reg[4]_0 (u_rgb_driver_n_57),
        .\cnt_h_reg[5]_0 (u_rgb_driver_n_5),
        .\cnt_h_reg[6]_0 (u_rgb_driver_n_23),
        .\cnt_h_reg[7]_0 ({u_rgb_driver_n_15,u_rgb_driver_n_16,u_rgb_driver_n_17,u_rgb_driver_n_18}),
        .\cnt_h_reg[8]_0 (u_rgb_driver_n_4),
        .\cnt_h_reg[8]_1 (u_rgb_driver_n_22),
        .\cnt_h_reg[9]_0 (u_rgb_driver_n_21),
        .\cnt_h_reg[9]_1 (u_rgb_driver_n_26),
        .\cnt_h_reg[9]_2 ({u_rgb_driver_n_58,u_rgb_driver_n_59}),
        .\cnt_v_reg[3]_0 ({u_rgb_driver_n_34,u_rgb_driver_n_35,u_rgb_driver_n_36,u_rgb_driver_n_37}),
        .\cnt_v_reg[3]_1 (u_rgb_driver_n_62),
        .\cnt_v_reg[4]_0 (u_rgb_driver_n_60),
        .\cnt_v_reg[8]_0 (u_rgb_driver_n_20),
        .\cnt_v_reg[9]_0 (u_rgb_driver_n_61),
        .\din_q_reg[0] (u_rgb_display_n_27),
        .\din_q_reg[0]_0 (u_rgb_display_n_26),
        .pixel_data3_carry__0_i_3_0(block_y_reg),
        .\pixel_data_reg[16] (u_rgb_display_n_21),
        .pixel_xpos_w(pixel_xpos_w),
        .pixel_ypos_w({pixel_ypos_w[9:4],pixel_ypos_w[2:0]}),
        .sys_rst_IBUF(sys_rst_IBUF),
        .video_de(video_de));
endmodule

module rgb_display
   (Q,
    \block_y_reg[9]_0 ,
    sys_rst,
    \block_x_reg[7]_0 ,
    \block_y_reg[7]_0 ,
    \block_x_reg[5]_0 ,
    \block_x_reg[3]_0 ,
    \pixel_data_reg[16]_0 ,
    \pixel_data_reg[0]_0 ,
    CLK,
    pixel_xpos_w,
    DI,
    S,
    \_inferred__1/i__carry__1_0 ,
    \pixel_data[16]_i_6_0 ,
    pixel_data3_carry__0_0,
    pixel_data3_carry__0_1,
    \pixel_data[16]_i_6_1 ,
    \_inferred__2/i__carry__0_0 ,
    \_inferred__2/i__carry__0_1 ,
    pixel_ypos_w,
    \_inferred__2/i__carry__1_0 ,
    \pixel_data[16]_i_6_2 ,
    pixel_data4_carry__0_0,
    pixel_data4_carry__0_1,
    \pixel_data[16]_i_6_3 ,
    \pixel_data[16]_i_6_4 ,
    sys_rst_IBUF,
    \_inferred__1/i__carry__0_0 ,
    \_inferred__1/i__carry__0_1 ,
    \_inferred__1/i__carry__0_2 ,
    D,
    \pixel_data_reg[0]_1 ,
    \pixel_data_reg[0]_2 ,
    \pixel_data_reg[0]_3 );
  output [10:0]Q;
  output [9:0]\block_y_reg[9]_0 ;
  output sys_rst;
  output \block_x_reg[7]_0 ;
  output \block_y_reg[7]_0 ;
  output \block_x_reg[5]_0 ;
  output \block_x_reg[3]_0 ;
  output [0:0]\pixel_data_reg[16]_0 ;
  output \pixel_data_reg[0]_0 ;
  input CLK;
  input [8:0]pixel_xpos_w;
  input [1:0]DI;
  input [3:0]S;
  input [0:0]\_inferred__1/i__carry__1_0 ;
  input [1:0]\pixel_data[16]_i_6_0 ;
  input [2:0]pixel_data3_carry__0_0;
  input [3:0]pixel_data3_carry__0_1;
  input [0:0]\pixel_data[16]_i_6_1 ;
  input [3:0]\_inferred__2/i__carry__0_0 ;
  input [3:0]\_inferred__2/i__carry__0_1 ;
  input [5:0]pixel_ypos_w;
  input [0:0]\_inferred__2/i__carry__1_0 ;
  input [0:0]\pixel_data[16]_i_6_2 ;
  input [3:0]pixel_data4_carry__0_0;
  input [3:0]pixel_data4_carry__0_1;
  input [1:0]\pixel_data[16]_i_6_3 ;
  input [0:0]\pixel_data[16]_i_6_4 ;
  input sys_rst_IBUF;
  input \_inferred__1/i__carry__0_0 ;
  input \_inferred__1/i__carry__0_1 ;
  input \_inferred__1/i__carry__0_2 ;
  input [0:0]D;
  input \pixel_data_reg[0]_1 ;
  input \pixel_data_reg[0]_2 ;
  input \pixel_data_reg[0]_3 ;

  wire CLK;
  wire [0:0]D;
  wire [1:0]DI;
  wire [10:0]Q;
  wire [3:0]S;
  wire \_inferred__1/i__carry__0_0 ;
  wire \_inferred__1/i__carry__0_1 ;
  wire \_inferred__1/i__carry__0_2 ;
  wire \_inferred__1/i__carry__0_n_0 ;
  wire [0:0]\_inferred__1/i__carry__1_0 ;
  wire \_inferred__1/i__carry__1_n_1 ;
  wire \_inferred__1/i__carry_n_0 ;
  wire [3:0]\_inferred__2/i__carry__0_0 ;
  wire [3:0]\_inferred__2/i__carry__0_1 ;
  wire \_inferred__2/i__carry__0_n_0 ;
  wire [0:0]\_inferred__2/i__carry__1_0 ;
  wire \_inferred__2/i__carry__1_n_1 ;
  wire \_inferred__2/i__carry_n_0 ;
  wire \block_x[0]_i_1_n_0 ;
  wire \block_x[10]_i_3_n_0 ;
  wire \block_x[10]_i_4_n_0 ;
  wire \block_x[10]_i_5_n_0 ;
  wire \block_x[10]_i_6_n_0 ;
  wire \block_x[10]_i_7_n_0 ;
  wire \block_x[10]_i_8_n_0 ;
  wire \block_x[4]_i_2_n_0 ;
  wire \block_x[4]_i_3_n_0 ;
  wire \block_x[4]_i_4_n_0 ;
  wire \block_x[4]_i_5_n_0 ;
  wire \block_x[4]_i_6_n_0 ;
  wire \block_x[8]_i_2_n_0 ;
  wire \block_x[8]_i_3_n_0 ;
  wire \block_x[8]_i_4_n_0 ;
  wire \block_x[8]_i_5_n_0 ;
  wire \block_x_reg[10]_i_2_n_6 ;
  wire \block_x_reg[10]_i_2_n_7 ;
  wire \block_x_reg[3]_0 ;
  wire \block_x_reg[4]_i_1_n_0 ;
  wire \block_x_reg[4]_i_1_n_4 ;
  wire \block_x_reg[4]_i_1_n_5 ;
  wire \block_x_reg[4]_i_1_n_6 ;
  wire \block_x_reg[4]_i_1_n_7 ;
  wire \block_x_reg[5]_0 ;
  wire \block_x_reg[7]_0 ;
  wire \block_x_reg[8]_i_1_n_0 ;
  wire \block_x_reg[8]_i_1_n_4 ;
  wire \block_x_reg[8]_i_1_n_5 ;
  wire \block_x_reg[8]_i_1_n_6 ;
  wire \block_x_reg[8]_i_1_n_7 ;
  wire \block_y[0]_i_1_n_0 ;
  wire \block_y[10]_i_2_n_0 ;
  wire \block_y[10]_i_3_n_0 ;
  wire \block_y[4]_i_2_n_0 ;
  wire \block_y[4]_i_3_n_0 ;
  wire \block_y[4]_i_4_n_0 ;
  wire \block_y[4]_i_5_n_0 ;
  wire \block_y[4]_i_6_n_0 ;
  wire \block_y[8]_i_2_n_0 ;
  wire \block_y[8]_i_3_n_0 ;
  wire \block_y[8]_i_4_n_0 ;
  wire \block_y[8]_i_5_n_0 ;
  wire [10:10]block_y_reg;
  wire \block_y_reg[10]_i_1_n_6 ;
  wire \block_y_reg[10]_i_1_n_7 ;
  wire \block_y_reg[4]_i_1_n_0 ;
  wire \block_y_reg[4]_i_1_n_4 ;
  wire \block_y_reg[4]_i_1_n_5 ;
  wire \block_y_reg[4]_i_1_n_6 ;
  wire \block_y_reg[4]_i_1_n_7 ;
  wire \block_y_reg[7]_0 ;
  wire \block_y_reg[8]_i_1_n_0 ;
  wire \block_y_reg[8]_i_1_n_4 ;
  wire \block_y_reg[8]_i_1_n_5 ;
  wire \block_y_reg[8]_i_1_n_6 ;
  wire \block_y_reg[8]_i_1_n_7 ;
  wire [9:0]\block_y_reg[9]_0 ;
  wire \div_cnt[0]_i_1_n_0 ;
  wire \div_cnt[0]_i_3_n_0 ;
  wire \div_cnt[0]_i_4_n_0 ;
  wire \div_cnt[0]_i_5_n_0 ;
  wire [19:0]div_cnt_reg;
  wire \div_cnt_reg[0]_i_2_n_0 ;
  wire \div_cnt_reg[0]_i_2_n_4 ;
  wire \div_cnt_reg[0]_i_2_n_5 ;
  wire \div_cnt_reg[0]_i_2_n_6 ;
  wire \div_cnt_reg[0]_i_2_n_7 ;
  wire \div_cnt_reg[12]_i_1_n_0 ;
  wire \div_cnt_reg[12]_i_1_n_4 ;
  wire \div_cnt_reg[12]_i_1_n_5 ;
  wire \div_cnt_reg[12]_i_1_n_6 ;
  wire \div_cnt_reg[12]_i_1_n_7 ;
  wire \div_cnt_reg[16]_i_1_n_4 ;
  wire \div_cnt_reg[16]_i_1_n_5 ;
  wire \div_cnt_reg[16]_i_1_n_6 ;
  wire \div_cnt_reg[16]_i_1_n_7 ;
  wire \div_cnt_reg[4]_i_1_n_0 ;
  wire \div_cnt_reg[4]_i_1_n_4 ;
  wire \div_cnt_reg[4]_i_1_n_5 ;
  wire \div_cnt_reg[4]_i_1_n_6 ;
  wire \div_cnt_reg[4]_i_1_n_7 ;
  wire \div_cnt_reg[8]_i_1_n_0 ;
  wire \div_cnt_reg[8]_i_1_n_4 ;
  wire \div_cnt_reg[8]_i_1_n_5 ;
  wire \div_cnt_reg[8]_i_1_n_6 ;
  wire \div_cnt_reg[8]_i_1_n_7 ;
  wire h_direct;
  wire h_direct_i_1_n_0;
  wire h_direct_i_2_n_0;
  wire h_direct_i_3_n_0;
  wire h_direct_i_4_n_0;
  wire h_direct_i_5_n_0;
  wire h_direct_i_6_n_0;
  wire i__carry__0_i_5__0_n_0;
  wire i__carry__0_i_5_n_0;
  wire i__carry__0_i_6__0_n_0;
  wire i__carry__0_i_6_n_0;
  wire i__carry__0_i_7__0_n_0;
  wire i__carry__0_i_7_n_0;
  wire i__carry__1_i_3__0_n_0;
  wire i__carry__1_i_4_n_0;
  wire i__carry__1_i_5__0_n_0;
  wire i__carry__1_i_9__0_n_0;
  wire move_en;
  wire [2:0]pixel_data3_carry__0_0;
  wire [3:0]pixel_data3_carry__0_1;
  wire pixel_data3_carry__0_i_1_n_0;
  wire pixel_data3_carry__0_i_2_n_0;
  wire pixel_data3_carry__0_n_2;
  wire pixel_data3_carry_i_1_n_0;
  wire pixel_data3_carry_n_0;
  wire [3:0]pixel_data4_carry__0_0;
  wire [3:0]pixel_data4_carry__0_1;
  wire pixel_data4_carry__0_i_3_n_0;
  wire pixel_data4_carry__0_n_2;
  wire pixel_data4_carry_n_0;
  wire \pixel_data[0]_i_1_n_0 ;
  wire \pixel_data[0]_i_2_n_0 ;
  wire [1:0]\pixel_data[16]_i_6_0 ;
  wire [0:0]\pixel_data[16]_i_6_1 ;
  wire [0:0]\pixel_data[16]_i_6_2 ;
  wire [1:0]\pixel_data[16]_i_6_3 ;
  wire [0:0]\pixel_data[16]_i_6_4 ;
  wire \pixel_data_reg[0]_0 ;
  wire \pixel_data_reg[0]_1 ;
  wire \pixel_data_reg[0]_2 ;
  wire \pixel_data_reg[0]_3 ;
  wire [0:0]\pixel_data_reg[16]_0 ;
  wire [8:0]pixel_xpos_w;
  wire [5:0]pixel_ypos_w;
  wire sys_rst;
  wire sys_rst_IBUF;
  wire v_direct;
  wire v_direct_i_1_n_0;
  wire v_direct_i_2_n_0;
  wire v_direct_i_3_n_0;
  wire v_direct_i_4_n_0;
  wire v_direct_i_5_n_0;
  wire v_direct_i_6_n_0;
  wire [2:0]\NLW__inferred__1/i__carry_CO_UNCONNECTED ;
  wire [3:0]\NLW__inferred__1/i__carry_O_UNCONNECTED ;
  wire [2:0]\NLW__inferred__1/i__carry__0_CO_UNCONNECTED ;
  wire [3:0]\NLW__inferred__1/i__carry__0_O_UNCONNECTED ;
  wire [3:0]\NLW__inferred__1/i__carry__1_CO_UNCONNECTED ;
  wire [3:0]\NLW__inferred__1/i__carry__1_O_UNCONNECTED ;
  wire [2:0]\NLW__inferred__2/i__carry_CO_UNCONNECTED ;
  wire [3:0]\NLW__inferred__2/i__carry_O_UNCONNECTED ;
  wire [2:0]\NLW__inferred__2/i__carry__0_CO_UNCONNECTED ;
  wire [3:0]\NLW__inferred__2/i__carry__0_O_UNCONNECTED ;
  wire [3:0]\NLW__inferred__2/i__carry__1_CO_UNCONNECTED ;
  wire [3:0]\NLW__inferred__2/i__carry__1_O_UNCONNECTED ;
  wire [3:0]\NLW_block_x_reg[10]_i_2_CO_UNCONNECTED ;
  wire [3:2]\NLW_block_x_reg[10]_i_2_O_UNCONNECTED ;
  wire [2:0]\NLW_block_x_reg[4]_i_1_CO_UNCONNECTED ;
  wire [2:0]\NLW_block_x_reg[8]_i_1_CO_UNCONNECTED ;
  wire [3:0]\NLW_block_y_reg[10]_i_1_CO_UNCONNECTED ;
  wire [3:2]\NLW_block_y_reg[10]_i_1_O_UNCONNECTED ;
  wire [2:0]\NLW_block_y_reg[4]_i_1_CO_UNCONNECTED ;
  wire [2:0]\NLW_block_y_reg[8]_i_1_CO_UNCONNECTED ;
  wire [2:0]\NLW_div_cnt_reg[0]_i_2_CO_UNCONNECTED ;
  wire [2:0]\NLW_div_cnt_reg[12]_i_1_CO_UNCONNECTED ;
  wire [3:0]\NLW_div_cnt_reg[16]_i_1_CO_UNCONNECTED ;
  wire [2:0]\NLW_div_cnt_reg[4]_i_1_CO_UNCONNECTED ;
  wire [2:0]\NLW_div_cnt_reg[8]_i_1_CO_UNCONNECTED ;
  wire [2:0]NLW_pixel_data3_carry_CO_UNCONNECTED;
  wire [3:0]NLW_pixel_data3_carry_O_UNCONNECTED;
  wire [3:0]NLW_pixel_data3_carry__0_CO_UNCONNECTED;
  wire [3:0]NLW_pixel_data3_carry__0_O_UNCONNECTED;
  wire [2:0]NLW_pixel_data4_carry_CO_UNCONNECTED;
  wire [3:0]NLW_pixel_data4_carry_O_UNCONNECTED;
  wire [3:0]NLW_pixel_data4_carry__0_CO_UNCONNECTED;
  wire [3:0]NLW_pixel_data4_carry__0_O_UNCONNECTED;

  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \_inferred__1/i__carry 
       (.CI(1'b0),
        .CO({\_inferred__1/i__carry_n_0 ,\NLW__inferred__1/i__carry_CO_UNCONNECTED [2:0]}),
        .CYINIT(1'b1),
        .DI({pixel_xpos_w[1:0],DI}),
        .O(\NLW__inferred__1/i__carry_O_UNCONNECTED [3:0]),
        .S(S));
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \_inferred__1/i__carry__0 
       (.CI(\_inferred__1/i__carry_n_0 ),
        .CO({\_inferred__1/i__carry__0_n_0 ,\NLW__inferred__1/i__carry__0_CO_UNCONNECTED [2:0]}),
        .CYINIT(1'b0),
        .DI(pixel_xpos_w[5:2]),
        .O(\NLW__inferred__1/i__carry__0_O_UNCONNECTED [3:0]),
        .S({i__carry__0_i_5_n_0,i__carry__0_i_6_n_0,i__carry__0_i_7__0_n_0,\_inferred__1/i__carry__1_0 }));
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \_inferred__1/i__carry__1 
       (.CI(\_inferred__1/i__carry__0_n_0 ),
        .CO({\NLW__inferred__1/i__carry__1_CO_UNCONNECTED [3],\_inferred__1/i__carry__1_n_1 ,\NLW__inferred__1/i__carry__1_CO_UNCONNECTED [1:0]}),
        .CYINIT(1'b0),
        .DI({1'b0,pixel_xpos_w[8:6]}),
        .O(\NLW__inferred__1/i__carry__1_O_UNCONNECTED [3:0]),
        .S({1'b0,i__carry__1_i_4_n_0,\pixel_data[16]_i_6_0 }));
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \_inferred__2/i__carry 
       (.CI(1'b0),
        .CO({\_inferred__2/i__carry_n_0 ,\NLW__inferred__2/i__carry_CO_UNCONNECTED [2:0]}),
        .CYINIT(1'b1),
        .DI(\_inferred__2/i__carry__0_0 ),
        .O(\NLW__inferred__2/i__carry_O_UNCONNECTED [3:0]),
        .S(\_inferred__2/i__carry__0_1 ));
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \_inferred__2/i__carry__0 
       (.CI(\_inferred__2/i__carry_n_0 ),
        .CO({\_inferred__2/i__carry__0_n_0 ,\NLW__inferred__2/i__carry__0_CO_UNCONNECTED [2:0]}),
        .CYINIT(1'b0),
        .DI(pixel_ypos_w[3:0]),
        .O(\NLW__inferred__2/i__carry__0_O_UNCONNECTED [3:0]),
        .S({i__carry__0_i_5__0_n_0,i__carry__0_i_6__0_n_0,i__carry__0_i_7_n_0,\_inferred__2/i__carry__1_0 }));
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \_inferred__2/i__carry__1 
       (.CI(\_inferred__2/i__carry__0_n_0 ),
        .CO({\NLW__inferred__2/i__carry__1_CO_UNCONNECTED [3],\_inferred__2/i__carry__1_n_1 ,\NLW__inferred__2/i__carry__1_CO_UNCONNECTED [1:0]}),
        .CYINIT(1'b0),
        .DI({1'b0,1'b0,pixel_ypos_w[5:4]}),
        .O(\NLW__inferred__2/i__carry__1_O_UNCONNECTED [3:0]),
        .S({1'b0,i__carry__1_i_3__0_n_0,\pixel_data[16]_i_6_2 ,i__carry__1_i_5__0_n_0}));
  LUT1 #(
    .INIT(2'h1)) 
    \block_x[0]_i_1 
       (.I0(Q[0]),
        .O(\block_x[0]_i_1_n_0 ));
  LUT6 #(
    .INIT(64'h0000000000000200)) 
    \block_x[10]_i_1 
       (.I0(\block_x[10]_i_3_n_0 ),
        .I1(div_cnt_reg[0]),
        .I2(div_cnt_reg[11]),
        .I3(div_cnt_reg[10]),
        .I4(\block_x[10]_i_4_n_0 ),
        .I5(\block_x[10]_i_5_n_0 ),
        .O(move_en));
  LUT4 #(
    .INIT(16'h0001)) 
    \block_x[10]_i_3 
       (.I0(div_cnt_reg[6]),
        .I1(div_cnt_reg[5]),
        .I2(div_cnt_reg[8]),
        .I3(\block_x[10]_i_8_n_0 ),
        .O(\block_x[10]_i_3_n_0 ));
  LUT4 #(
    .INIT(16'hFFEF)) 
    \block_x[10]_i_4 
       (.I0(div_cnt_reg[15]),
        .I1(div_cnt_reg[14]),
        .I2(div_cnt_reg[19]),
        .I3(div_cnt_reg[18]),
        .O(\block_x[10]_i_4_n_0 ));
  LUT6 #(
    .INIT(64'h7FFFFFFFFFFFFFFF)) 
    \block_x[10]_i_5 
       (.I0(div_cnt_reg[13]),
        .I1(div_cnt_reg[12]),
        .I2(div_cnt_reg[1]),
        .I3(div_cnt_reg[2]),
        .I4(div_cnt_reg[16]),
        .I5(div_cnt_reg[17]),
        .O(\block_x[10]_i_5_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_x[10]_i_6 
       (.I0(Q[9]),
        .I1(Q[10]),
        .O(\block_x[10]_i_6_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_x[10]_i_7 
       (.I0(Q[8]),
        .I1(Q[9]),
        .O(\block_x[10]_i_7_n_0 ));
  LUT4 #(
    .INIT(16'hFFFE)) 
    \block_x[10]_i_8 
       (.I0(div_cnt_reg[9]),
        .I1(div_cnt_reg[3]),
        .I2(div_cnt_reg[7]),
        .I3(div_cnt_reg[4]),
        .O(\block_x[10]_i_8_n_0 ));
  LUT1 #(
    .INIT(2'h1)) 
    \block_x[4]_i_2 
       (.I0(Q[1]),
        .O(\block_x[4]_i_2_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_x[4]_i_3 
       (.I0(Q[3]),
        .I1(Q[4]),
        .O(\block_x[4]_i_3_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_x[4]_i_4 
       (.I0(Q[2]),
        .I1(Q[3]),
        .O(\block_x[4]_i_4_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_x[4]_i_5 
       (.I0(Q[1]),
        .I1(Q[2]),
        .O(\block_x[4]_i_5_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_x[4]_i_6 
       (.I0(Q[1]),
        .I1(h_direct),
        .O(\block_x[4]_i_6_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_x[8]_i_2 
       (.I0(Q[7]),
        .I1(Q[8]),
        .O(\block_x[8]_i_2_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_x[8]_i_3 
       (.I0(Q[6]),
        .I1(Q[7]),
        .O(\block_x[8]_i_3_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_x[8]_i_4 
       (.I0(Q[5]),
        .I1(Q[6]),
        .O(\block_x[8]_i_4_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_x[8]_i_5 
       (.I0(Q[4]),
        .I1(Q[5]),
        .O(\block_x[8]_i_5_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \block_x_reg[0] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_x[0]_i_1_n_0 ),
        .Q(Q[0]),
        .R(sys_rst_IBUF));
  FDRE #(
    .INIT(1'b0)) 
    \block_x_reg[10] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_x_reg[10]_i_2_n_6 ),
        .Q(Q[10]),
        .R(sys_rst_IBUF));
  (* ADDER_THRESHOLD = "35" *) 
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \block_x_reg[10]_i_2 
       (.CI(\block_x_reg[8]_i_1_n_0 ),
        .CO(\NLW_block_x_reg[10]_i_2_CO_UNCONNECTED [3:0]),
        .CYINIT(1'b0),
        .DI({1'b0,1'b0,1'b0,Q[8]}),
        .O({\NLW_block_x_reg[10]_i_2_O_UNCONNECTED [3:2],\block_x_reg[10]_i_2_n_6 ,\block_x_reg[10]_i_2_n_7 }),
        .S({1'b0,1'b0,\block_x[10]_i_6_n_0 ,\block_x[10]_i_7_n_0 }));
  FDRE #(
    .INIT(1'b0)) 
    \block_x_reg[1] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_x_reg[4]_i_1_n_7 ),
        .Q(Q[1]),
        .R(sys_rst_IBUF));
  FDRE #(
    .INIT(1'b0)) 
    \block_x_reg[2] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_x_reg[4]_i_1_n_6 ),
        .Q(Q[2]),
        .R(sys_rst_IBUF));
  FDSE #(
    .INIT(1'b1)) 
    \block_x_reg[3] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_x_reg[4]_i_1_n_5 ),
        .Q(Q[3]),
        .S(sys_rst_IBUF));
  FDRE #(
    .INIT(1'b0)) 
    \block_x_reg[4] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_x_reg[4]_i_1_n_4 ),
        .Q(Q[4]),
        .R(sys_rst_IBUF));
  (* ADDER_THRESHOLD = "35" *) 
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \block_x_reg[4]_i_1 
       (.CI(1'b0),
        .CO({\block_x_reg[4]_i_1_n_0 ,\NLW_block_x_reg[4]_i_1_CO_UNCONNECTED [2:0]}),
        .CYINIT(Q[0]),
        .DI({Q[3:1],\block_x[4]_i_2_n_0 }),
        .O({\block_x_reg[4]_i_1_n_4 ,\block_x_reg[4]_i_1_n_5 ,\block_x_reg[4]_i_1_n_6 ,\block_x_reg[4]_i_1_n_7 }),
        .S({\block_x[4]_i_3_n_0 ,\block_x[4]_i_4_n_0 ,\block_x[4]_i_5_n_0 ,\block_x[4]_i_6_n_0 }));
  FDSE #(
    .INIT(1'b1)) 
    \block_x_reg[5] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_x_reg[8]_i_1_n_7 ),
        .Q(Q[5]),
        .S(sys_rst_IBUF));
  FDRE #(
    .INIT(1'b0)) 
    \block_x_reg[6] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_x_reg[8]_i_1_n_6 ),
        .Q(Q[6]),
        .R(sys_rst_IBUF));
  FDRE #(
    .INIT(1'b0)) 
    \block_x_reg[7] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_x_reg[8]_i_1_n_5 ),
        .Q(Q[7]),
        .R(sys_rst_IBUF));
  FDRE #(
    .INIT(1'b0)) 
    \block_x_reg[8] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_x_reg[8]_i_1_n_4 ),
        .Q(Q[8]),
        .R(sys_rst_IBUF));
  (* ADDER_THRESHOLD = "35" *) 
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \block_x_reg[8]_i_1 
       (.CI(\block_x_reg[4]_i_1_n_0 ),
        .CO({\block_x_reg[8]_i_1_n_0 ,\NLW_block_x_reg[8]_i_1_CO_UNCONNECTED [2:0]}),
        .CYINIT(1'b0),
        .DI(Q[7:4]),
        .O({\block_x_reg[8]_i_1_n_4 ,\block_x_reg[8]_i_1_n_5 ,\block_x_reg[8]_i_1_n_6 ,\block_x_reg[8]_i_1_n_7 }),
        .S({\block_x[8]_i_2_n_0 ,\block_x[8]_i_3_n_0 ,\block_x[8]_i_4_n_0 ,\block_x[8]_i_5_n_0 }));
  FDRE #(
    .INIT(1'b0)) 
    \block_x_reg[9] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_x_reg[10]_i_2_n_7 ),
        .Q(Q[9]),
        .R(sys_rst_IBUF));
  LUT1 #(
    .INIT(2'h1)) 
    \block_y[0]_i_1 
       (.I0(\block_y_reg[9]_0 [0]),
        .O(\block_y[0]_i_1_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_y[10]_i_2 
       (.I0(\block_y_reg[9]_0 [9]),
        .I1(block_y_reg),
        .O(\block_y[10]_i_2_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_y[10]_i_3 
       (.I0(\block_y_reg[9]_0 [8]),
        .I1(\block_y_reg[9]_0 [9]),
        .O(\block_y[10]_i_3_n_0 ));
  LUT1 #(
    .INIT(2'h1)) 
    \block_y[4]_i_2 
       (.I0(\block_y_reg[9]_0 [1]),
        .O(\block_y[4]_i_2_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_y[4]_i_3 
       (.I0(\block_y_reg[9]_0 [3]),
        .I1(\block_y_reg[9]_0 [4]),
        .O(\block_y[4]_i_3_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_y[4]_i_4 
       (.I0(\block_y_reg[9]_0 [2]),
        .I1(\block_y_reg[9]_0 [3]),
        .O(\block_y[4]_i_4_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_y[4]_i_5 
       (.I0(\block_y_reg[9]_0 [1]),
        .I1(\block_y_reg[9]_0 [2]),
        .O(\block_y[4]_i_5_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_y[4]_i_6 
       (.I0(\block_y_reg[9]_0 [1]),
        .I1(v_direct),
        .O(\block_y[4]_i_6_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_y[8]_i_2 
       (.I0(\block_y_reg[9]_0 [7]),
        .I1(\block_y_reg[9]_0 [8]),
        .O(\block_y[8]_i_2_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_y[8]_i_3 
       (.I0(\block_y_reg[9]_0 [6]),
        .I1(\block_y_reg[9]_0 [7]),
        .O(\block_y[8]_i_3_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_y[8]_i_4 
       (.I0(\block_y_reg[9]_0 [5]),
        .I1(\block_y_reg[9]_0 [6]),
        .O(\block_y[8]_i_4_n_0 ));
  LUT2 #(
    .INIT(4'h9)) 
    \block_y[8]_i_5 
       (.I0(\block_y_reg[9]_0 [4]),
        .I1(\block_y_reg[9]_0 [5]),
        .O(\block_y[8]_i_5_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \block_y_reg[0] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_y[0]_i_1_n_0 ),
        .Q(\block_y_reg[9]_0 [0]),
        .R(sys_rst_IBUF));
  FDRE #(
    .INIT(1'b0)) 
    \block_y_reg[10] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_y_reg[10]_i_1_n_6 ),
        .Q(block_y_reg),
        .R(sys_rst_IBUF));
  (* ADDER_THRESHOLD = "35" *) 
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \block_y_reg[10]_i_1 
       (.CI(\block_y_reg[8]_i_1_n_0 ),
        .CO(\NLW_block_y_reg[10]_i_1_CO_UNCONNECTED [3:0]),
        .CYINIT(1'b0),
        .DI({1'b0,1'b0,1'b0,\block_y_reg[9]_0 [8]}),
        .O({\NLW_block_y_reg[10]_i_1_O_UNCONNECTED [3:2],\block_y_reg[10]_i_1_n_6 ,\block_y_reg[10]_i_1_n_7 }),
        .S({1'b0,1'b0,\block_y[10]_i_2_n_0 ,\block_y[10]_i_3_n_0 }));
  FDRE #(
    .INIT(1'b0)) 
    \block_y_reg[1] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_y_reg[4]_i_1_n_7 ),
        .Q(\block_y_reg[9]_0 [1]),
        .R(sys_rst_IBUF));
  FDRE #(
    .INIT(1'b0)) 
    \block_y_reg[2] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_y_reg[4]_i_1_n_6 ),
        .Q(\block_y_reg[9]_0 [2]),
        .R(sys_rst_IBUF));
  FDSE #(
    .INIT(1'b1)) 
    \block_y_reg[3] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_y_reg[4]_i_1_n_5 ),
        .Q(\block_y_reg[9]_0 [3]),
        .S(sys_rst_IBUF));
  FDRE #(
    .INIT(1'b0)) 
    \block_y_reg[4] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_y_reg[4]_i_1_n_4 ),
        .Q(\block_y_reg[9]_0 [4]),
        .R(sys_rst_IBUF));
  (* ADDER_THRESHOLD = "35" *) 
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \block_y_reg[4]_i_1 
       (.CI(1'b0),
        .CO({\block_y_reg[4]_i_1_n_0 ,\NLW_block_y_reg[4]_i_1_CO_UNCONNECTED [2:0]}),
        .CYINIT(\block_y_reg[9]_0 [0]),
        .DI({\block_y_reg[9]_0 [3:1],\block_y[4]_i_2_n_0 }),
        .O({\block_y_reg[4]_i_1_n_4 ,\block_y_reg[4]_i_1_n_5 ,\block_y_reg[4]_i_1_n_6 ,\block_y_reg[4]_i_1_n_7 }),
        .S({\block_y[4]_i_3_n_0 ,\block_y[4]_i_4_n_0 ,\block_y[4]_i_5_n_0 ,\block_y[4]_i_6_n_0 }));
  FDSE #(
    .INIT(1'b1)) 
    \block_y_reg[5] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_y_reg[8]_i_1_n_7 ),
        .Q(\block_y_reg[9]_0 [5]),
        .S(sys_rst_IBUF));
  FDRE #(
    .INIT(1'b0)) 
    \block_y_reg[6] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_y_reg[8]_i_1_n_6 ),
        .Q(\block_y_reg[9]_0 [6]),
        .R(sys_rst_IBUF));
  FDRE #(
    .INIT(1'b0)) 
    \block_y_reg[7] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_y_reg[8]_i_1_n_5 ),
        .Q(\block_y_reg[9]_0 [7]),
        .R(sys_rst_IBUF));
  FDRE #(
    .INIT(1'b0)) 
    \block_y_reg[8] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_y_reg[8]_i_1_n_4 ),
        .Q(\block_y_reg[9]_0 [8]),
        .R(sys_rst_IBUF));
  (* ADDER_THRESHOLD = "35" *) 
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \block_y_reg[8]_i_1 
       (.CI(\block_y_reg[4]_i_1_n_0 ),
        .CO({\block_y_reg[8]_i_1_n_0 ,\NLW_block_y_reg[8]_i_1_CO_UNCONNECTED [2:0]}),
        .CYINIT(1'b0),
        .DI(\block_y_reg[9]_0 [7:4]),
        .O({\block_y_reg[8]_i_1_n_4 ,\block_y_reg[8]_i_1_n_5 ,\block_y_reg[8]_i_1_n_6 ,\block_y_reg[8]_i_1_n_7 }),
        .S({\block_y[8]_i_2_n_0 ,\block_y[8]_i_3_n_0 ,\block_y[8]_i_4_n_0 ,\block_y[8]_i_5_n_0 }));
  FDRE #(
    .INIT(1'b0)) 
    \block_y_reg[9] 
       (.C(CLK),
        .CE(move_en),
        .D(\block_y_reg[10]_i_1_n_7 ),
        .Q(\block_y_reg[9]_0 [9]),
        .R(sys_rst_IBUF));
  LUT6 #(
    .INIT(64'hFFFFEAAAAAAAAAAA)) 
    \div_cnt[0]_i_1 
       (.I0(sys_rst_IBUF),
        .I1(\div_cnt[0]_i_3_n_0 ),
        .I2(div_cnt_reg[16]),
        .I3(div_cnt_reg[17]),
        .I4(div_cnt_reg[18]),
        .I5(div_cnt_reg[19]),
        .O(\div_cnt[0]_i_1_n_0 ));
  LUT5 #(
    .INIT(32'hFEEEEEEE)) 
    \div_cnt[0]_i_3 
       (.I0(div_cnt_reg[15]),
        .I1(div_cnt_reg[14]),
        .I2(div_cnt_reg[12]),
        .I3(div_cnt_reg[13]),
        .I4(\div_cnt[0]_i_5_n_0 ),
        .O(\div_cnt[0]_i_3_n_0 ));
  LUT1 #(
    .INIT(2'h1)) 
    \div_cnt[0]_i_4 
       (.I0(div_cnt_reg[0]),
        .O(\div_cnt[0]_i_4_n_0 ));
  LUT5 #(
    .INIT(32'hFBBBAAAA)) 
    \div_cnt[0]_i_5 
       (.I0(div_cnt_reg[11]),
        .I1(\block_x[10]_i_3_n_0 ),
        .I2(div_cnt_reg[2]),
        .I3(div_cnt_reg[1]),
        .I4(div_cnt_reg[10]),
        .O(\div_cnt[0]_i_5_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[0] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[0]_i_2_n_7 ),
        .Q(div_cnt_reg[0]),
        .R(\div_cnt[0]_i_1_n_0 ));
  (* ADDER_THRESHOLD = "11" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \div_cnt_reg[0]_i_2 
       (.CI(1'b0),
        .CO({\div_cnt_reg[0]_i_2_n_0 ,\NLW_div_cnt_reg[0]_i_2_CO_UNCONNECTED [2:0]}),
        .CYINIT(1'b0),
        .DI({1'b0,1'b0,1'b0,1'b1}),
        .O({\div_cnt_reg[0]_i_2_n_4 ,\div_cnt_reg[0]_i_2_n_5 ,\div_cnt_reg[0]_i_2_n_6 ,\div_cnt_reg[0]_i_2_n_7 }),
        .S({div_cnt_reg[3:1],\div_cnt[0]_i_4_n_0 }));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[10] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[8]_i_1_n_5 ),
        .Q(div_cnt_reg[10]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[11] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[8]_i_1_n_4 ),
        .Q(div_cnt_reg[11]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[12] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[12]_i_1_n_7 ),
        .Q(div_cnt_reg[12]),
        .R(\div_cnt[0]_i_1_n_0 ));
  (* ADDER_THRESHOLD = "11" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \div_cnt_reg[12]_i_1 
       (.CI(\div_cnt_reg[8]_i_1_n_0 ),
        .CO({\div_cnt_reg[12]_i_1_n_0 ,\NLW_div_cnt_reg[12]_i_1_CO_UNCONNECTED [2:0]}),
        .CYINIT(1'b0),
        .DI({1'b0,1'b0,1'b0,1'b0}),
        .O({\div_cnt_reg[12]_i_1_n_4 ,\div_cnt_reg[12]_i_1_n_5 ,\div_cnt_reg[12]_i_1_n_6 ,\div_cnt_reg[12]_i_1_n_7 }),
        .S(div_cnt_reg[15:12]));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[13] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[12]_i_1_n_6 ),
        .Q(div_cnt_reg[13]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[14] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[12]_i_1_n_5 ),
        .Q(div_cnt_reg[14]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[15] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[12]_i_1_n_4 ),
        .Q(div_cnt_reg[15]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[16] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[16]_i_1_n_7 ),
        .Q(div_cnt_reg[16]),
        .R(\div_cnt[0]_i_1_n_0 ));
  (* ADDER_THRESHOLD = "11" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \div_cnt_reg[16]_i_1 
       (.CI(\div_cnt_reg[12]_i_1_n_0 ),
        .CO(\NLW_div_cnt_reg[16]_i_1_CO_UNCONNECTED [3:0]),
        .CYINIT(1'b0),
        .DI({1'b0,1'b0,1'b0,1'b0}),
        .O({\div_cnt_reg[16]_i_1_n_4 ,\div_cnt_reg[16]_i_1_n_5 ,\div_cnt_reg[16]_i_1_n_6 ,\div_cnt_reg[16]_i_1_n_7 }),
        .S(div_cnt_reg[19:16]));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[17] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[16]_i_1_n_6 ),
        .Q(div_cnt_reg[17]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[18] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[16]_i_1_n_5 ),
        .Q(div_cnt_reg[18]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[19] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[16]_i_1_n_4 ),
        .Q(div_cnt_reg[19]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[1] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[0]_i_2_n_6 ),
        .Q(div_cnt_reg[1]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[2] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[0]_i_2_n_5 ),
        .Q(div_cnt_reg[2]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[3] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[0]_i_2_n_4 ),
        .Q(div_cnt_reg[3]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[4] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[4]_i_1_n_7 ),
        .Q(div_cnt_reg[4]),
        .R(\div_cnt[0]_i_1_n_0 ));
  (* ADDER_THRESHOLD = "11" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \div_cnt_reg[4]_i_1 
       (.CI(\div_cnt_reg[0]_i_2_n_0 ),
        .CO({\div_cnt_reg[4]_i_1_n_0 ,\NLW_div_cnt_reg[4]_i_1_CO_UNCONNECTED [2:0]}),
        .CYINIT(1'b0),
        .DI({1'b0,1'b0,1'b0,1'b0}),
        .O({\div_cnt_reg[4]_i_1_n_4 ,\div_cnt_reg[4]_i_1_n_5 ,\div_cnt_reg[4]_i_1_n_6 ,\div_cnt_reg[4]_i_1_n_7 }),
        .S(div_cnt_reg[7:4]));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[5] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[4]_i_1_n_6 ),
        .Q(div_cnt_reg[5]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[6] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[4]_i_1_n_5 ),
        .Q(div_cnt_reg[6]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[7] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[4]_i_1_n_4 ),
        .Q(div_cnt_reg[7]),
        .R(\div_cnt[0]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[8] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[8]_i_1_n_7 ),
        .Q(div_cnt_reg[8]),
        .R(\div_cnt[0]_i_1_n_0 ));
  (* ADDER_THRESHOLD = "11" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 \div_cnt_reg[8]_i_1 
       (.CI(\div_cnt_reg[4]_i_1_n_0 ),
        .CO({\div_cnt_reg[8]_i_1_n_0 ,\NLW_div_cnt_reg[8]_i_1_CO_UNCONNECTED [2:0]}),
        .CYINIT(1'b0),
        .DI({1'b0,1'b0,1'b0,1'b0}),
        .O({\div_cnt_reg[8]_i_1_n_4 ,\div_cnt_reg[8]_i_1_n_5 ,\div_cnt_reg[8]_i_1_n_6 ,\div_cnt_reg[8]_i_1_n_7 }),
        .S(div_cnt_reg[11:8]));
  FDRE #(
    .INIT(1'b0)) 
    \div_cnt_reg[9] 
       (.C(CLK),
        .CE(1'b1),
        .D(\div_cnt_reg[8]_i_1_n_6 ),
        .Q(div_cnt_reg[9]),
        .R(\div_cnt[0]_i_1_n_0 ));
  LUT6 #(
    .INIT(64'hEFEEEEEEEEEEEEEE)) 
    h_direct_i_1
       (.I0(sys_rst_IBUF),
        .I1(h_direct_i_2_n_0),
        .I2(h_direct_i_3_n_0),
        .I3(Q[2]),
        .I4(Q[5]),
        .I5(Q[0]),
        .O(h_direct_i_1_n_0));
  LUT6 #(
    .INIT(64'hA8AAAAAAAAAAAAAA)) 
    h_direct_i_2
       (.I0(h_direct),
        .I1(h_direct_i_4_n_0),
        .I2(h_direct_i_5_n_0),
        .I3(Q[5]),
        .I4(Q[7]),
        .I5(Q[4]),
        .O(h_direct_i_2_n_0));
  LUT5 #(
    .INIT(32'hFFFFFFFB)) 
    h_direct_i_3
       (.I0(Q[3]),
        .I1(Q[1]),
        .I2(Q[7]),
        .I3(Q[10]),
        .I4(h_direct_i_6_n_0),
        .O(h_direct_i_3_n_0));
  LUT4 #(
    .INIT(16'hFFEF)) 
    h_direct_i_4
       (.I0(Q[2]),
        .I1(Q[0]),
        .I2(Q[10]),
        .I3(Q[1]),
        .O(h_direct_i_4_n_0));
  LUT4 #(
    .INIT(16'hFFFE)) 
    h_direct_i_5
       (.I0(Q[8]),
        .I1(Q[6]),
        .I2(Q[3]),
        .I3(Q[9]),
        .O(h_direct_i_5_n_0));
  LUT4 #(
    .INIT(16'hFFFE)) 
    h_direct_i_6
       (.I0(Q[8]),
        .I1(Q[6]),
        .I2(Q[4]),
        .I3(Q[9]),
        .O(h_direct_i_6_n_0));
  FDRE #(
    .INIT(1'b0)) 
    h_direct_reg
       (.C(CLK),
        .CE(1'b1),
        .D(h_direct_i_1_n_0),
        .Q(h_direct),
        .R(1'b0));
  LUT2 #(
    .INIT(4'h9)) 
    i__carry__0_i_14
       (.I0(Q[3]),
        .I1(Q[4]),
        .O(\block_x_reg[3]_0 ));
  LUT6 #(
    .INIT(64'h66666AAA99999555)) 
    i__carry__0_i_5
       (.I0(pixel_xpos_w[5]),
        .I1(Q[6]),
        .I2(Q[3]),
        .I3(Q[4]),
        .I4(Q[5]),
        .I5(Q[7]),
        .O(i__carry__0_i_5_n_0));
  LUT6 #(
    .INIT(64'h66666AAA99999555)) 
    i__carry__0_i_5__0
       (.I0(pixel_ypos_w[3]),
        .I1(\block_y_reg[9]_0 [6]),
        .I2(\block_y_reg[9]_0 [3]),
        .I3(\block_y_reg[9]_0 [4]),
        .I4(\block_y_reg[9]_0 [5]),
        .I5(\block_y_reg[9]_0 [7]),
        .O(i__carry__0_i_5__0_n_0));
  LUT6 #(
    .INIT(64'hEEE1E1E1111E1E1E)) 
    i__carry__0_i_6
       (.I0(\_inferred__1/i__carry__0_0 ),
        .I1(\_inferred__1/i__carry__0_1 ),
        .I2(Q[5]),
        .I3(Q[4]),
        .I4(Q[3]),
        .I5(Q[6]),
        .O(i__carry__0_i_6_n_0));
  LUT5 #(
    .INIT(32'h5666A999)) 
    i__carry__0_i_6__0
       (.I0(pixel_ypos_w[2]),
        .I1(\block_y_reg[9]_0 [5]),
        .I2(\block_y_reg[9]_0 [4]),
        .I3(\block_y_reg[9]_0 [3]),
        .I4(\block_y_reg[9]_0 [6]),
        .O(i__carry__0_i_6__0_n_0));
  LUT4 #(
    .INIT(16'h956A)) 
    i__carry__0_i_7
       (.I0(pixel_ypos_w[1]),
        .I1(\block_y_reg[9]_0 [3]),
        .I2(\block_y_reg[9]_0 [4]),
        .I3(\block_y_reg[9]_0 [5]),
        .O(i__carry__0_i_7_n_0));
  LUT5 #(
    .INIT(32'h1EEEE111)) 
    i__carry__0_i_7__0
       (.I0(\_inferred__1/i__carry__0_2 ),
        .I1(\_inferred__1/i__carry__0_1 ),
        .I2(Q[3]),
        .I3(Q[4]),
        .I4(Q[5]),
        .O(i__carry__0_i_7__0_n_0));
  LUT5 #(
    .INIT(32'hEA000000)) 
    i__carry__1_i_10
       (.I0(Q[5]),
        .I1(Q[4]),
        .I2(Q[3]),
        .I3(Q[6]),
        .I4(Q[7]),
        .O(\block_x_reg[5]_0 ));
  LUT3 #(
    .INIT(8'h95)) 
    i__carry__1_i_3__0
       (.I0(block_y_reg),
        .I1(\block_y_reg[7]_0 ),
        .I2(\block_y_reg[9]_0 [9]),
        .O(i__carry__1_i_3__0_n_0));
  LUT4 #(
    .INIT(16'h6A95)) 
    i__carry__1_i_4
       (.I0(pixel_xpos_w[8]),
        .I1(Q[9]),
        .I2(\block_x_reg[7]_0 ),
        .I3(Q[10]),
        .O(i__carry__1_i_4_n_0));
  LUT3 #(
    .INIT(8'h69)) 
    i__carry__1_i_5__0
       (.I0(pixel_ypos_w[4]),
        .I1(i__carry__1_i_9__0_n_0),
        .I2(\block_y_reg[9]_0 [8]),
        .O(i__carry__1_i_5__0_n_0));
  LUT6 #(
    .INIT(64'h8888800000000000)) 
    i__carry__1_i_7__0
       (.I0(\block_y_reg[9]_0 [7]),
        .I1(\block_y_reg[9]_0 [6]),
        .I2(\block_y_reg[9]_0 [3]),
        .I3(\block_y_reg[9]_0 [4]),
        .I4(\block_y_reg[9]_0 [5]),
        .I5(\block_y_reg[9]_0 [8]),
        .O(\block_y_reg[7]_0 ));
  LUT6 #(
    .INIT(64'h8888800000000000)) 
    i__carry__1_i_9
       (.I0(Q[7]),
        .I1(Q[6]),
        .I2(Q[3]),
        .I3(Q[4]),
        .I4(Q[5]),
        .I5(Q[8]),
        .O(\block_x_reg[7]_0 ));
  LUT5 #(
    .INIT(32'hEA000000)) 
    i__carry__1_i_9__0
       (.I0(\block_y_reg[9]_0 [5]),
        .I1(\block_y_reg[9]_0 [4]),
        .I2(\block_y_reg[9]_0 [3]),
        .I3(\block_y_reg[9]_0 [6]),
        .I4(\block_y_reg[9]_0 [7]),
        .O(i__carry__1_i_9__0_n_0));
  (* COMPARATOR_THRESHOLD = "11" *) 
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 pixel_data3_carry
       (.CI(1'b0),
        .CO({pixel_data3_carry_n_0,NLW_pixel_data3_carry_CO_UNCONNECTED[2:0]}),
        .CYINIT(1'b1),
        .DI({pixel_data3_carry_i_1_n_0,pixel_data3_carry__0_0}),
        .O(NLW_pixel_data3_carry_O_UNCONNECTED[3:0]),
        .S(pixel_data3_carry__0_1));
  (* COMPARATOR_THRESHOLD = "11" *) 
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 pixel_data3_carry__0
       (.CI(pixel_data3_carry_n_0),
        .CO({NLW_pixel_data3_carry__0_CO_UNCONNECTED[3:2],pixel_data3_carry__0_n_2,NLW_pixel_data3_carry__0_CO_UNCONNECTED[0]}),
        .CYINIT(1'b0),
        .DI({1'b0,1'b0,1'b0,pixel_data3_carry__0_i_1_n_0}),
        .O(NLW_pixel_data3_carry__0_O_UNCONNECTED[3:0]),
        .S({1'b0,1'b0,pixel_data3_carry__0_i_2_n_0,\pixel_data[16]_i_6_1 }));
  LUT4 #(
    .INIT(16'h44D4)) 
    pixel_data3_carry__0_i_1
       (.I0(\block_y_reg[9]_0 [9]),
        .I1(pixel_ypos_w[5]),
        .I2(pixel_ypos_w[4]),
        .I3(\block_y_reg[9]_0 [8]),
        .O(pixel_data3_carry__0_i_1_n_0));
  LUT1 #(
    .INIT(2'h1)) 
    pixel_data3_carry__0_i_2
       (.I0(block_y_reg),
        .O(pixel_data3_carry__0_i_2_n_0));
  LUT4 #(
    .INIT(16'h44D4)) 
    pixel_data3_carry_i_1
       (.I0(\block_y_reg[9]_0 [7]),
        .I1(pixel_ypos_w[3]),
        .I2(pixel_ypos_w[2]),
        .I3(\block_y_reg[9]_0 [6]),
        .O(pixel_data3_carry_i_1_n_0));
  (* COMPARATOR_THRESHOLD = "11" *) 
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 pixel_data4_carry
       (.CI(1'b0),
        .CO({pixel_data4_carry_n_0,NLW_pixel_data4_carry_CO_UNCONNECTED[2:0]}),
        .CYINIT(1'b1),
        .DI(pixel_data4_carry__0_0),
        .O(NLW_pixel_data4_carry_O_UNCONNECTED[3:0]),
        .S(pixel_data4_carry__0_1));
  (* COMPARATOR_THRESHOLD = "11" *) 
  (* METHODOLOGY_DRC_VIOS = "{SYNTH-8 {cell *THIS*}}" *) 
  (* OPT_MODIFIED = "SWEEP" *) 
  CARRY4 pixel_data4_carry__0
       (.CI(pixel_data4_carry_n_0),
        .CO({NLW_pixel_data4_carry__0_CO_UNCONNECTED[3:2],pixel_data4_carry__0_n_2,NLW_pixel_data4_carry__0_CO_UNCONNECTED[0]}),
        .CYINIT(1'b0),
        .DI({1'b0,1'b0,\pixel_data[16]_i_6_3 }),
        .O(NLW_pixel_data4_carry__0_O_UNCONNECTED[3:0]),
        .S({1'b0,1'b0,pixel_data4_carry__0_i_3_n_0,\pixel_data[16]_i_6_4 }));
  LUT2 #(
    .INIT(4'h9)) 
    pixel_data4_carry__0_i_3
       (.I0(Q[10]),
        .I1(pixel_xpos_w[8]),
        .O(pixel_data4_carry__0_i_3_n_0));
  LUT6 #(
    .INIT(64'h00000000FFFFFFD5)) 
    \pixel_data[0]_i_1 
       (.I0(\pixel_data[0]_i_2_n_0 ),
        .I1(\pixel_data_reg[0]_1 ),
        .I2(pixel_xpos_w[8]),
        .I3(\pixel_data_reg[0]_2 ),
        .I4(\pixel_data_reg[0]_3 ),
        .I5(sys_rst_IBUF),
        .O(\pixel_data[0]_i_1_n_0 ));
  LUT4 #(
    .INIT(16'h0040)) 
    \pixel_data[0]_i_2 
       (.I0(\_inferred__1/i__carry__1_n_1 ),
        .I1(pixel_data4_carry__0_n_2),
        .I2(pixel_data3_carry__0_n_2),
        .I3(\_inferred__2/i__carry__1_n_1 ),
        .O(\pixel_data[0]_i_2_n_0 ));
  LUT5 #(
    .INIT(32'hAAAABAAA)) 
    \pixel_data[16]_i_6 
       (.I0(sys_rst_IBUF),
        .I1(\_inferred__2/i__carry__1_n_1 ),
        .I2(pixel_data3_carry__0_n_2),
        .I3(pixel_data4_carry__0_n_2),
        .I4(\_inferred__1/i__carry__1_n_1 ),
        .O(sys_rst));
  FDRE #(
    .INIT(1'b0)) 
    \pixel_data_reg[0] 
       (.C(CLK),
        .CE(1'b1),
        .D(\pixel_data[0]_i_1_n_0 ),
        .Q(\pixel_data_reg[0]_0 ),
        .R(1'b0));
  FDRE #(
    .INIT(1'b0)) 
    \pixel_data_reg[16] 
       (.C(CLK),
        .CE(1'b1),
        .D(D),
        .Q(\pixel_data_reg[16]_0 ),
        .R(1'b0));
  LUT6 #(
    .INIT(64'hEEEEEEEEEEEEEEEF)) 
    v_direct_i_1
       (.I0(v_direct_i_2_n_0),
        .I1(sys_rst_IBUF),
        .I2(v_direct_i_3_n_0),
        .I3(\block_y_reg[9]_0 [4]),
        .I4(\block_y_reg[9]_0 [8]),
        .I5(\block_y_reg[9]_0 [9]),
        .O(v_direct_i_1_n_0));
  LUT6 #(
    .INIT(64'hAAAAAAAAAAAAAAA8)) 
    v_direct_i_2
       (.I0(v_direct),
        .I1(v_direct_i_4_n_0),
        .I2(v_direct_i_5_n_0),
        .I3(\block_y_reg[9]_0 [6]),
        .I4(\block_y_reg[9]_0 [2]),
        .I5(\block_y_reg[9]_0 [0]),
        .O(v_direct_i_2_n_0));
  LUT5 #(
    .INIT(32'hFFFFFFF7)) 
    v_direct_i_3
       (.I0(\block_y_reg[9]_0 [1]),
        .I1(\block_y_reg[9]_0 [2]),
        .I2(\block_y_reg[9]_0 [3]),
        .I3(\block_y_reg[9]_0 [7]),
        .I4(v_direct_i_6_n_0),
        .O(v_direct_i_3_n_0));
  LUT4 #(
    .INIT(16'hFFEF)) 
    v_direct_i_4
       (.I0(\block_y_reg[9]_0 [5]),
        .I1(\block_y_reg[9]_0 [1]),
        .I2(\block_y_reg[9]_0 [7]),
        .I3(block_y_reg),
        .O(v_direct_i_4_n_0));
  LUT4 #(
    .INIT(16'hFFEF)) 
    v_direct_i_5
       (.I0(\block_y_reg[9]_0 [4]),
        .I1(\block_y_reg[9]_0 [3]),
        .I2(\block_y_reg[9]_0 [9]),
        .I3(\block_y_reg[9]_0 [8]),
        .O(v_direct_i_5_n_0));
  LUT4 #(
    .INIT(16'hFFDF)) 
    v_direct_i_6
       (.I0(\block_y_reg[9]_0 [0]),
        .I1(block_y_reg),
        .I2(\block_y_reg[9]_0 [5]),
        .I3(\block_y_reg[9]_0 [6]),
        .O(v_direct_i_6_n_0));
  FDRE #(
    .INIT(1'b0)) 
    v_direct_reg
       (.C(CLK),
        .CE(1'b1),
        .D(v_direct_i_1_n_0),
        .Q(v_direct),
        .R(1'b0));
endmodule

module rgb_driver
   (\block_x_reg[7] ,
    \cnt_h_reg[8]_0 ,
    \cnt_h_reg[5]_0 ,
    pixel_xpos_w,
    \cnt_h_reg[7]_0 ,
    D,
    \cnt_v_reg[8]_0 ,
    \cnt_h_reg[9]_0 ,
    \cnt_h_reg[8]_1 ,
    \cnt_h_reg[6]_0 ,
    \block_x_reg[10] ,
    \cnt_h_reg[9]_1 ,
    \block_y_reg[5] ,
    \block_y_reg[7] ,
    \cnt_v_reg[3]_0 ,
    pixel_ypos_w,
    \block_y_reg[8] ,
    video_de,
    c1,
    c0,
    DI,
    S,
    \cnt_h_reg[4]_0 ,
    \cnt_h_reg[9]_2 ,
    \cnt_v_reg[4]_0 ,
    \cnt_v_reg[9]_0 ,
    \cnt_v_reg[3]_1 ,
    \cnt_h_reg[10]_0 ,
    \cnt_h_reg[10]_1 ,
    Q,
    sys_rst_IBUF,
    \pixel_data_reg[16] ,
    pixel_data3_carry__0_i_3_0,
    \_inferred__1/i__carry__0 ,
    \_inferred__1/i__carry__1 ,
    \_inferred__1/i__carry__1_0 ,
    \_inferred__2/i__carry__1 ,
    \din_q_reg[0] ,
    \din_q_reg[0]_0 ,
    CLK);
  output [3:0]\block_x_reg[7] ;
  output \cnt_h_reg[8]_0 ;
  output \cnt_h_reg[5]_0 ;
  output [8:0]pixel_xpos_w;
  output [3:0]\cnt_h_reg[7]_0 ;
  output [0:0]D;
  output \cnt_v_reg[8]_0 ;
  output \cnt_h_reg[9]_0 ;
  output \cnt_h_reg[8]_1 ;
  output \cnt_h_reg[6]_0 ;
  output [1:0]\block_x_reg[10] ;
  output [0:0]\cnt_h_reg[9]_1 ;
  output [2:0]\block_y_reg[5] ;
  output [3:0]\block_y_reg[7] ;
  output [3:0]\cnt_v_reg[3]_0 ;
  output [8:0]pixel_ypos_w;
  output [0:0]\block_y_reg[8] ;
  output video_de;
  output c1;
  output c0;
  output [1:0]DI;
  output [3:0]S;
  output [0:0]\cnt_h_reg[4]_0 ;
  output [1:0]\cnt_h_reg[9]_2 ;
  output [0:0]\cnt_v_reg[4]_0 ;
  output [0:0]\cnt_v_reg[9]_0 ;
  output [0:0]\cnt_v_reg[3]_1 ;
  output \cnt_h_reg[10]_0 ;
  output \cnt_h_reg[10]_1 ;
  input [10:0]Q;
  input sys_rst_IBUF;
  input \pixel_data_reg[16] ;
  input [9:0]pixel_data3_carry__0_i_3_0;
  input \_inferred__1/i__carry__0 ;
  input \_inferred__1/i__carry__1 ;
  input \_inferred__1/i__carry__1_0 ;
  input \_inferred__2/i__carry__1 ;
  input \din_q_reg[0] ;
  input [0:0]\din_q_reg[0]_0 ;
  input CLK;

  wire CLK;
  wire [0:0]D;
  wire [1:0]DI;
  wire [10:0]Q;
  wire [3:0]S;
  wire \_inferred__1/i__carry__0 ;
  wire \_inferred__1/i__carry__1 ;
  wire \_inferred__1/i__carry__1_0 ;
  wire \_inferred__2/i__carry__1 ;
  wire [1:0]\block_x_reg[10] ;
  wire [3:0]\block_x_reg[7] ;
  wire [2:0]\block_y_reg[5] ;
  wire [3:0]\block_y_reg[7] ;
  wire [0:0]\block_y_reg[8] ;
  wire c0;
  wire c0_q_i_2_n_0;
  wire c0_q_i_3_n_0;
  wire c1;
  wire c1_q_i_2_n_0;
  wire \cnt_h[10]_i_1_n_0 ;
  wire \cnt_h[10]_i_3_n_0 ;
  wire \cnt_h[10]_i_4_n_0 ;
  wire \cnt_h[10]_i_5_n_0 ;
  wire \cnt_h[2]_i_1_n_0 ;
  wire \cnt_h[6]_i_2_n_0 ;
  wire [10:0]cnt_h_reg;
  wire \cnt_h_reg[10]_0 ;
  wire \cnt_h_reg[10]_1 ;
  wire [0:0]\cnt_h_reg[4]_0 ;
  wire \cnt_h_reg[5]_0 ;
  wire \cnt_h_reg[6]_0 ;
  wire [3:0]\cnt_h_reg[7]_0 ;
  wire \cnt_h_reg[8]_0 ;
  wire \cnt_h_reg[8]_1 ;
  wire \cnt_h_reg[9]_0 ;
  wire [0:0]\cnt_h_reg[9]_1 ;
  wire [1:0]\cnt_h_reg[9]_2 ;
  wire cnt_v;
  wire \cnt_v[6]_i_2_n_0 ;
  wire \cnt_v[9]_i_1_n_0 ;
  wire \cnt_v[9]_i_4_n_0 ;
  wire \cnt_v[9]_i_5_n_0 ;
  wire \cnt_v[9]_i_6_n_0 ;
  wire \cnt_v[9]_i_7_n_0 ;
  wire [9:0]cnt_v_reg;
  wire [3:0]\cnt_v_reg[3]_0 ;
  wire [0:0]\cnt_v_reg[3]_1 ;
  wire [0:0]\cnt_v_reg[4]_0 ;
  wire \cnt_v_reg[8]_0 ;
  wire [0:0]\cnt_v_reg[9]_0 ;
  wire de_q_i_2_n_0;
  wire de_q_i_3_n_0;
  wire de_q_i_4_n_0;
  wire de_q_i_5_n_0;
  wire de_q_i_6_n_0;
  wire \din_q_reg[0] ;
  wire [0:0]\din_q_reg[0]_0 ;
  wire i__carry__0_i_10_n_0;
  wire i__carry__0_i_12_n_0;
  wire i__carry__0_i_9_n_0;
  wire i__carry__1_i_6__0_n_0;
  wire i__carry__1_i_7_n_0;
  wire i__carry__1_i_8__0_n_0;
  wire i__carry__1_i_8_n_0;
  wire i__carry_i_10_n_0;
  wire i__carry_i_12_n_0;
  wire i__carry_i_9_n_0;
  wire [10:0]p_0_in;
  wire [9:0]p_0_in__0;
  wire [9:0]pixel_data3_carry__0_i_3_0;
  wire pixel_data3_carry__0_i_4_n_0;
  wire pixel_data4_carry_i_9_n_0;
  wire \pixel_data[16]_i_10_n_0 ;
  wire \pixel_data[16]_i_2_n_0 ;
  wire \pixel_data[16]_i_3_n_0 ;
  wire \pixel_data[16]_i_7_n_0 ;
  wire \pixel_data[16]_i_8_n_0 ;
  wire \pixel_data[16]_i_9_n_0 ;
  wire \pixel_data_reg[16] ;
  wire [1:1]pixel_xpos0;
  wire [8:0]pixel_xpos_w;
  wire [8:0]pixel_ypos_w;
  wire sys_rst_IBUF;
  wire video_de;

  LUT6 #(
    .INIT(64'hFFFFFFFFFFF8FFFF)) 
    c0_q_i_1
       (.I0(c0_q_i_2_n_0),
        .I1(cnt_h_reg[5]),
        .I2(cnt_h_reg[10]),
        .I3(cnt_h_reg[9]),
        .I4(c0_q_i_3_n_0),
        .I5(cnt_h_reg[6]),
        .O(c0));
  LUT2 #(
    .INIT(4'hE)) 
    c0_q_i_2
       (.I0(cnt_h_reg[4]),
        .I1(cnt_h_reg[3]),
        .O(c0_q_i_2_n_0));
  LUT2 #(
    .INIT(4'h1)) 
    c0_q_i_3
       (.I0(cnt_h_reg[8]),
        .I1(cnt_h_reg[7]),
        .O(c0_q_i_3_n_0));
  LUT6 #(
    .INIT(64'hFFFFFFFFFFFFFD55)) 
    c1_q_i_1
       (.I0(c1_q_i_2_n_0),
        .I1(cnt_v_reg[1]),
        .I2(cnt_v_reg[0]),
        .I3(cnt_v_reg[2]),
        .I4(cnt_v_reg[4]),
        .I5(cnt_v_reg[3]),
        .O(c1));
  LUT5 #(
    .INIT(32'h00000001)) 
    c1_q_i_2
       (.I0(cnt_v_reg[9]),
        .I1(cnt_v_reg[8]),
        .I2(cnt_v_reg[7]),
        .I3(cnt_v_reg[6]),
        .I4(cnt_v_reg[5]),
        .O(c1_q_i_2_n_0));
  LUT1 #(
    .INIT(2'h1)) 
    \cnt_h[0]_i_1 
       (.I0(cnt_h_reg[0]),
        .O(p_0_in[0]));
  LUT6 #(
    .INIT(64'hEAEAEAAAEAEAEAEA)) 
    \cnt_h[10]_i_1 
       (.I0(sys_rst_IBUF),
        .I1(cnt_h_reg[9]),
        .I2(cnt_h_reg[10]),
        .I3(cnt_h_reg[7]),
        .I4(cnt_h_reg[8]),
        .I5(\cnt_h[10]_i_3_n_0 ),
        .O(\cnt_h[10]_i_1_n_0 ));
  LUT6 #(
    .INIT(64'h6AAAAAAAAAAAAAAA)) 
    \cnt_h[10]_i_2 
       (.I0(cnt_h_reg[10]),
        .I1(cnt_h_reg[7]),
        .I2(\cnt_h[10]_i_4_n_0 ),
        .I3(\cnt_h[10]_i_5_n_0 ),
        .I4(cnt_h_reg[8]),
        .I5(cnt_h_reg[9]),
        .O(p_0_in[10]));
  LUT5 #(
    .INIT(32'h0001FFFF)) 
    \cnt_h[10]_i_3 
       (.I0(cnt_h_reg[1]),
        .I1(cnt_h_reg[2]),
        .I2(cnt_h_reg[3]),
        .I3(cnt_h_reg[0]),
        .I4(\cnt_h[10]_i_5_n_0 ),
        .O(\cnt_h[10]_i_3_n_0 ));
  (* \PinAttr:I0:HOLD_DETOUR  = "198" *) 
  LUT4 #(
    .INIT(16'h8000)) 
    \cnt_h[10]_i_4 
       (.I0(cnt_h_reg[3]),
        .I1(cnt_h_reg[1]),
        .I2(cnt_h_reg[0]),
        .I3(cnt_h_reg[2]),
        .O(\cnt_h[10]_i_4_n_0 ));
  LUT3 #(
    .INIT(8'h80)) 
    \cnt_h[10]_i_5 
       (.I0(cnt_h_reg[6]),
        .I1(cnt_h_reg[4]),
        .I2(cnt_h_reg[5]),
        .O(\cnt_h[10]_i_5_n_0 ));
  (* SOFT_HLUTNM = "soft_lutpair27" *) 
  LUT2 #(
    .INIT(4'h6)) 
    \cnt_h[1]_i_1 
       (.I0(cnt_h_reg[1]),
        .I1(cnt_h_reg[0]),
        .O(pixel_xpos0));
  (* SOFT_HLUTNM = "soft_lutpair27" *) 
  LUT3 #(
    .INIT(8'h6A)) 
    \cnt_h[2]_i_1 
       (.I0(cnt_h_reg[2]),
        .I1(cnt_h_reg[0]),
        .I2(cnt_h_reg[1]),
        .O(\cnt_h[2]_i_1_n_0 ));
  (* \PinAttr:I0:HOLD_DETOUR  = "198" *) 
  LUT4 #(
    .INIT(16'h6AAA)) 
    \cnt_h[3]_i_1 
       (.I0(cnt_h_reg[3]),
        .I1(cnt_h_reg[1]),
        .I2(cnt_h_reg[0]),
        .I3(cnt_h_reg[2]),
        .O(p_0_in[3]));
  LUT5 #(
    .INIT(32'h6AAAAAAA)) 
    \cnt_h[4]_i_1 
       (.I0(cnt_h_reg[4]),
        .I1(cnt_h_reg[2]),
        .I2(cnt_h_reg[0]),
        .I3(cnt_h_reg[1]),
        .I4(cnt_h_reg[3]),
        .O(p_0_in[4]));
  LUT6 #(
    .INIT(64'h6AAAAAAAAAAAAAAA)) 
    \cnt_h[5]_i_1 
       (.I0(cnt_h_reg[5]),
        .I1(cnt_h_reg[4]),
        .I2(cnt_h_reg[3]),
        .I3(cnt_h_reg[1]),
        .I4(cnt_h_reg[0]),
        .I5(cnt_h_reg[2]),
        .O(p_0_in[5]));
  LUT6 #(
    .INIT(64'h6AAAAAAAAAAAAAAA)) 
    \cnt_h[6]_i_1 
       (.I0(cnt_h_reg[6]),
        .I1(cnt_h_reg[5]),
        .I2(cnt_h_reg[4]),
        .I3(cnt_h_reg[3]),
        .I4(\cnt_h[6]_i_2_n_0 ),
        .I5(cnt_h_reg[2]),
        .O(p_0_in[6]));
  LUT2 #(
    .INIT(4'h8)) 
    \cnt_h[6]_i_2 
       (.I0(cnt_h_reg[1]),
        .I1(cnt_h_reg[0]),
        .O(\cnt_h[6]_i_2_n_0 ));
  LUT5 #(
    .INIT(32'h6AAAAAAA)) 
    \cnt_h[7]_i_1 
       (.I0(cnt_h_reg[7]),
        .I1(cnt_h_reg[6]),
        .I2(cnt_h_reg[4]),
        .I3(cnt_h_reg[5]),
        .I4(\cnt_h[10]_i_4_n_0 ),
        .O(p_0_in[7]));
  LUT6 #(
    .INIT(64'h6AAAAAAAAAAAAAAA)) 
    \cnt_h[8]_i_1 
       (.I0(cnt_h_reg[8]),
        .I1(cnt_h_reg[7]),
        .I2(\cnt_h[10]_i_4_n_0 ),
        .I3(cnt_h_reg[5]),
        .I4(cnt_h_reg[4]),
        .I5(cnt_h_reg[6]),
        .O(p_0_in[8]));
  LUT5 #(
    .INIT(32'h6AAAAAAA)) 
    \cnt_h[9]_i_1 
       (.I0(cnt_h_reg[9]),
        .I1(cnt_h_reg[8]),
        .I2(\cnt_h[10]_i_5_n_0 ),
        .I3(\cnt_h[10]_i_4_n_0 ),
        .I4(cnt_h_reg[7]),
        .O(p_0_in[9]));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_h_reg[0] 
       (.C(CLK),
        .CE(1'b1),
        .D(p_0_in[0]),
        .Q(cnt_h_reg[0]),
        .R(\cnt_h[10]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_h_reg[10] 
       (.C(CLK),
        .CE(1'b1),
        .D(p_0_in[10]),
        .Q(cnt_h_reg[10]),
        .R(\cnt_h[10]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_h_reg[1] 
       (.C(CLK),
        .CE(1'b1),
        .D(pixel_xpos0),
        .Q(cnt_h_reg[1]),
        .R(\cnt_h[10]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_h_reg[2] 
       (.C(CLK),
        .CE(1'b1),
        .D(\cnt_h[2]_i_1_n_0 ),
        .Q(cnt_h_reg[2]),
        .R(\cnt_h[10]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_h_reg[3] 
       (.C(CLK),
        .CE(1'b1),
        .D(p_0_in[3]),
        .Q(cnt_h_reg[3]),
        .R(\cnt_h[10]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_h_reg[4] 
       (.C(CLK),
        .CE(1'b1),
        .D(p_0_in[4]),
        .Q(cnt_h_reg[4]),
        .R(\cnt_h[10]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_h_reg[5] 
       (.C(CLK),
        .CE(1'b1),
        .D(p_0_in[5]),
        .Q(cnt_h_reg[5]),
        .R(\cnt_h[10]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_h_reg[6] 
       (.C(CLK),
        .CE(1'b1),
        .D(p_0_in[6]),
        .Q(cnt_h_reg[6]),
        .R(\cnt_h[10]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_h_reg[7] 
       (.C(CLK),
        .CE(1'b1),
        .D(p_0_in[7]),
        .Q(cnt_h_reg[7]),
        .R(\cnt_h[10]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_h_reg[8] 
       (.C(CLK),
        .CE(1'b1),
        .D(p_0_in[8]),
        .Q(cnt_h_reg[8]),
        .R(\cnt_h[10]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_h_reg[9] 
       (.C(CLK),
        .CE(1'b1),
        .D(p_0_in[9]),
        .Q(cnt_h_reg[9]),
        .R(\cnt_h[10]_i_1_n_0 ));
  (* SOFT_HLUTNM = "soft_lutpair28" *) 
  LUT1 #(
    .INIT(2'h1)) 
    \cnt_v[0]_i_1 
       (.I0(cnt_v_reg[0]),
        .O(p_0_in__0[0]));
  (* SOFT_HLUTNM = "soft_lutpair28" *) 
  LUT2 #(
    .INIT(4'h6)) 
    \cnt_v[1]_i_1 
       (.I0(cnt_v_reg[0]),
        .I1(cnt_v_reg[1]),
        .O(p_0_in__0[1]));
  (* SOFT_HLUTNM = "soft_lutpair26" *) 
  LUT3 #(
    .INIT(8'h6A)) 
    \cnt_v[2]_i_1 
       (.I0(cnt_v_reg[2]),
        .I1(cnt_v_reg[1]),
        .I2(cnt_v_reg[0]),
        .O(p_0_in__0[2]));
  (* SOFT_HLUTNM = "soft_lutpair26" *) 
  LUT4 #(
    .INIT(16'h6AAA)) 
    \cnt_v[3]_i_1 
       (.I0(cnt_v_reg[3]),
        .I1(cnt_v_reg[2]),
        .I2(cnt_v_reg[0]),
        .I3(cnt_v_reg[1]),
        .O(p_0_in__0[3]));
  LUT5 #(
    .INIT(32'h6AAAAAAA)) 
    \cnt_v[4]_i_1 
       (.I0(cnt_v_reg[4]),
        .I1(cnt_v_reg[3]),
        .I2(cnt_v_reg[1]),
        .I3(cnt_v_reg[0]),
        .I4(cnt_v_reg[2]),
        .O(p_0_in__0[4]));
  LUT6 #(
    .INIT(64'h6AAAAAAAAAAAAAAA)) 
    \cnt_v[5]_i_1 
       (.I0(cnt_v_reg[5]),
        .I1(cnt_v_reg[4]),
        .I2(cnt_v_reg[3]),
        .I3(cnt_v_reg[1]),
        .I4(cnt_v_reg[0]),
        .I5(cnt_v_reg[2]),
        .O(p_0_in__0[5]));
  LUT6 #(
    .INIT(64'h6AAAAAAAAAAAAAAA)) 
    \cnt_v[6]_i_1 
       (.I0(cnt_v_reg[6]),
        .I1(cnt_v_reg[5]),
        .I2(cnt_v_reg[2]),
        .I3(cnt_v_reg[0]),
        .I4(cnt_v_reg[1]),
        .I5(\cnt_v[6]_i_2_n_0 ),
        .O(p_0_in__0[6]));
  LUT2 #(
    .INIT(4'h8)) 
    \cnt_v[6]_i_2 
       (.I0(cnt_v_reg[4]),
        .I1(cnt_v_reg[3]),
        .O(\cnt_v[6]_i_2_n_0 ));
  (* SOFT_HLUTNM = "soft_lutpair21" *) 
  LUT4 #(
    .INIT(16'h6AAA)) 
    \cnt_v[7]_i_1 
       (.I0(cnt_v_reg[7]),
        .I1(cnt_v_reg[6]),
        .I2(cnt_v_reg[5]),
        .I3(\cnt_v[9]_i_7_n_0 ),
        .O(p_0_in__0[7]));
  (* SOFT_HLUTNM = "soft_lutpair21" *) 
  LUT5 #(
    .INIT(32'h6AAAAAAA)) 
    \cnt_v[8]_i_1 
       (.I0(cnt_v_reg[8]),
        .I1(cnt_v_reg[7]),
        .I2(cnt_v_reg[5]),
        .I3(cnt_v_reg[6]),
        .I4(\cnt_v[9]_i_7_n_0 ),
        .O(p_0_in__0[8]));
  LUT4 #(
    .INIT(16'hEAAA)) 
    \cnt_v[9]_i_1 
       (.I0(sys_rst_IBUF),
        .I1(cnt_v_reg[9]),
        .I2(cnt_v),
        .I3(\cnt_v[9]_i_4_n_0 ),
        .O(\cnt_v[9]_i_1_n_0 ));
  LUT6 #(
    .INIT(64'h0000000000000100)) 
    \cnt_v[9]_i_2 
       (.I0(\cnt_v[9]_i_5_n_0 ),
        .I1(cnt_h_reg[7]),
        .I2(cnt_h_reg[8]),
        .I3(cnt_h_reg[0]),
        .I4(cnt_h_reg[1]),
        .I5(\cnt_v[9]_i_6_n_0 ),
        .O(cnt_v));
  LUT6 #(
    .INIT(64'h6AAAAAAAAAAAAAAA)) 
    \cnt_v[9]_i_3 
       (.I0(cnt_v_reg[9]),
        .I1(cnt_v_reg[8]),
        .I2(\cnt_v[9]_i_7_n_0 ),
        .I3(cnt_v_reg[6]),
        .I4(cnt_v_reg[5]),
        .I5(cnt_v_reg[7]),
        .O(p_0_in__0[9]));
  LUT6 #(
    .INIT(64'hFEFEFEEEAAAAAAAA)) 
    \cnt_v[9]_i_4 
       (.I0(cnt_v_reg[8]),
        .I1(cnt_v_reg[4]),
        .I2(cnt_v_reg[2]),
        .I3(cnt_v_reg[0]),
        .I4(cnt_v_reg[1]),
        .I5(de_q_i_6_n_0),
        .O(\cnt_v[9]_i_4_n_0 ));
  LUT2 #(
    .INIT(4'h7)) 
    \cnt_v[9]_i_5 
       (.I0(cnt_h_reg[9]),
        .I1(cnt_h_reg[10]),
        .O(\cnt_v[9]_i_5_n_0 ));
  LUT6 #(
    .INIT(64'hFEFFFFFFFFFFFFFF)) 
    \cnt_v[9]_i_6 
       (.I0(cnt_h_reg[3]),
        .I1(cnt_h_reg[2]),
        .I2(cnt_h_reg[1]),
        .I3(cnt_h_reg[5]),
        .I4(cnt_h_reg[4]),
        .I5(cnt_h_reg[6]),
        .O(\cnt_v[9]_i_6_n_0 ));
  LUT5 #(
    .INIT(32'h80000000)) 
    \cnt_v[9]_i_7 
       (.I0(cnt_v_reg[2]),
        .I1(cnt_v_reg[0]),
        .I2(cnt_v_reg[1]),
        .I3(cnt_v_reg[3]),
        .I4(cnt_v_reg[4]),
        .O(\cnt_v[9]_i_7_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_v_reg[0] 
       (.C(CLK),
        .CE(cnt_v),
        .D(p_0_in__0[0]),
        .Q(cnt_v_reg[0]),
        .R(\cnt_v[9]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_v_reg[1] 
       (.C(CLK),
        .CE(cnt_v),
        .D(p_0_in__0[1]),
        .Q(cnt_v_reg[1]),
        .R(\cnt_v[9]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_v_reg[2] 
       (.C(CLK),
        .CE(cnt_v),
        .D(p_0_in__0[2]),
        .Q(cnt_v_reg[2]),
        .R(\cnt_v[9]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_v_reg[3] 
       (.C(CLK),
        .CE(cnt_v),
        .D(p_0_in__0[3]),
        .Q(cnt_v_reg[3]),
        .R(\cnt_v[9]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_v_reg[4] 
       (.C(CLK),
        .CE(cnt_v),
        .D(p_0_in__0[4]),
        .Q(cnt_v_reg[4]),
        .R(\cnt_v[9]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_v_reg[5] 
       (.C(CLK),
        .CE(cnt_v),
        .D(p_0_in__0[5]),
        .Q(cnt_v_reg[5]),
        .R(\cnt_v[9]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_v_reg[6] 
       (.C(CLK),
        .CE(cnt_v),
        .D(p_0_in__0[6]),
        .Q(cnt_v_reg[6]),
        .R(\cnt_v[9]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_v_reg[7] 
       (.C(CLK),
        .CE(cnt_v),
        .D(p_0_in__0[7]),
        .Q(cnt_v_reg[7]),
        .R(\cnt_v[9]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_v_reg[8] 
       (.C(CLK),
        .CE(cnt_v),
        .D(p_0_in__0[8]),
        .Q(cnt_v_reg[8]),
        .R(\cnt_v[9]_i_1_n_0 ));
  FDRE #(
    .INIT(1'b0)) 
    \cnt_v_reg[9] 
       (.C(CLK),
        .CE(cnt_v),
        .D(p_0_in__0[9]),
        .Q(cnt_v_reg[9]),
        .R(\cnt_v[9]_i_1_n_0 ));
  LUT5 #(
    .INIT(32'h000067E6)) 
    de_q_i_1
       (.I0(cnt_h_reg[10]),
        .I1(cnt_h_reg[9]),
        .I2(de_q_i_2_n_0),
        .I3(cnt_h_reg[8]),
        .I4(de_q_i_3_n_0),
        .O(video_de));
  LUT6 #(
    .INIT(64'h0000000000000001)) 
    de_q_i_2
       (.I0(cnt_h_reg[3]),
        .I1(cnt_h_reg[4]),
        .I2(cnt_h_reg[2]),
        .I3(cnt_h_reg[7]),
        .I4(cnt_h_reg[5]),
        .I5(cnt_h_reg[6]),
        .O(de_q_i_2_n_0));
  LUT6 #(
    .INIT(64'hF4FFF4F444444444)) 
    de_q_i_3
       (.I0(de_q_i_4_n_0),
        .I1(c1_q_i_2_n_0),
        .I2(cnt_v_reg[8]),
        .I3(de_q_i_5_n_0),
        .I4(de_q_i_6_n_0),
        .I5(cnt_v_reg[9]),
        .O(de_q_i_3_n_0));
  LUT5 #(
    .INIT(32'h88888880)) 
    de_q_i_4
       (.I0(cnt_v_reg[3]),
        .I1(cnt_v_reg[4]),
        .I2(cnt_v_reg[0]),
        .I3(cnt_v_reg[1]),
        .I4(cnt_v_reg[2]),
        .O(de_q_i_4_n_0));
  LUT4 #(
    .INIT(16'h0001)) 
    de_q_i_5
       (.I0(cnt_v_reg[4]),
        .I1(cnt_v_reg[0]),
        .I2(cnt_v_reg[1]),
        .I3(cnt_v_reg[2]),
        .O(de_q_i_5_n_0));
  LUT5 #(
    .INIT(32'h80808000)) 
    de_q_i_6
       (.I0(cnt_v_reg[6]),
        .I1(cnt_v_reg[5]),
        .I2(cnt_v_reg[7]),
        .I3(cnt_v_reg[3]),
        .I4(cnt_v_reg[4]),
        .O(de_q_i_6_n_0));
  LUT6 #(
    .INIT(64'h000067E600000000)) 
    \din_q[0]_i_1 
       (.I0(cnt_h_reg[10]),
        .I1(cnt_h_reg[9]),
        .I2(de_q_i_2_n_0),
        .I3(cnt_h_reg[8]),
        .I4(de_q_i_3_n_0),
        .I5(\din_q_reg[0] ),
        .O(\cnt_h_reg[10]_0 ));
  LUT6 #(
    .INIT(64'h000067E600000000)) 
    \din_q[0]_i_1__0 
       (.I0(cnt_h_reg[10]),
        .I1(cnt_h_reg[9]),
        .I2(de_q_i_2_n_0),
        .I3(cnt_h_reg[8]),
        .I4(de_q_i_3_n_0),
        .I5(\din_q_reg[0]_0 ),
        .O(\cnt_h_reg[10]_1 ));
  LUT6 #(
    .INIT(64'h0000000D000D0000)) 
    i__carry__0_i_1
       (.I0(\cnt_h[6]_i_2_n_0 ),
        .I1(\cnt_v[9]_i_5_n_0 ),
        .I2(i__carry__0_i_9_n_0),
        .I3(de_q_i_3_n_0),
        .I4(i__carry__0_i_10_n_0),
        .I5(cnt_h_reg[7]),
        .O(pixel_xpos_w[5]));
  LUT6 #(
    .INIT(64'h0000000000000001)) 
    i__carry__0_i_10
       (.I0(cnt_h_reg[6]),
        .I1(\cnt_h[6]_i_2_n_0 ),
        .I2(cnt_h_reg[2]),
        .I3(cnt_h_reg[3]),
        .I4(cnt_h_reg[4]),
        .I5(cnt_h_reg[5]),
        .O(i__carry__0_i_10_n_0));
  LUT6 #(
    .INIT(64'h5555555555555556)) 
    i__carry__0_i_11
       (.I0(cnt_h_reg[6]),
        .I1(\cnt_h[6]_i_2_n_0 ),
        .I2(cnt_h_reg[2]),
        .I3(cnt_h_reg[3]),
        .I4(cnt_h_reg[4]),
        .I5(cnt_h_reg[5]),
        .O(\cnt_h_reg[6]_0 ));
  LUT5 #(
    .INIT(32'h55565656)) 
    i__carry__0_i_12
       (.I0(cnt_h_reg[4]),
        .I1(cnt_h_reg[3]),
        .I2(cnt_h_reg[2]),
        .I3(cnt_h_reg[1]),
        .I4(cnt_h_reg[0]),
        .O(i__carry__0_i_12_n_0));
  LUT6 #(
    .INIT(64'h5555555655565556)) 
    i__carry__0_i_13
       (.I0(cnt_h_reg[5]),
        .I1(cnt_h_reg[4]),
        .I2(cnt_h_reg[3]),
        .I3(cnt_h_reg[2]),
        .I4(cnt_h_reg[0]),
        .I5(cnt_h_reg[1]),
        .O(\cnt_h_reg[5]_0 ));
  LUT6 #(
    .INIT(64'h00000000FFF80007)) 
    i__carry__0_i_1__0
       (.I0(cnt_v_reg[3]),
        .I1(cnt_v_reg[4]),
        .I2(cnt_v_reg[5]),
        .I3(cnt_v_reg[6]),
        .I4(cnt_v_reg[7]),
        .I5(\cnt_h_reg[8]_0 ),
        .O(pixel_ypos_w[6]));
  LUT6 #(
    .INIT(64'h000000000000D8D0)) 
    i__carry__0_i_2
       (.I0(\cnt_h[6]_i_2_n_0 ),
        .I1(\cnt_v[9]_i_5_n_0 ),
        .I2(i__carry_i_9_n_0),
        .I3(cnt_h_reg[8]),
        .I4(de_q_i_3_n_0),
        .I5(\cnt_h_reg[6]_0 ),
        .O(pixel_xpos_w[4]));
  LUT5 #(
    .INIT(32'h54440111)) 
    i__carry__0_i_2__0
       (.I0(\cnt_h_reg[8]_0 ),
        .I1(cnt_v_reg[5]),
        .I2(cnt_v_reg[3]),
        .I3(cnt_v_reg[4]),
        .I4(cnt_v_reg[6]),
        .O(pixel_ypos_w[5]));
  LUT6 #(
    .INIT(64'h00000000AAAAAAA9)) 
    i__carry__0_i_3
       (.I0(cnt_h_reg[5]),
        .I1(cnt_h_reg[4]),
        .I2(cnt_h_reg[3]),
        .I3(cnt_h_reg[2]),
        .I4(\cnt_h[6]_i_2_n_0 ),
        .I5(\cnt_h_reg[8]_0 ),
        .O(pixel_xpos_w[3]));
  LUT4 #(
    .INIT(16'h4015)) 
    i__carry__0_i_3__0
       (.I0(\cnt_h_reg[8]_0 ),
        .I1(cnt_v_reg[4]),
        .I2(cnt_v_reg[3]),
        .I3(cnt_v_reg[5]),
        .O(pixel_ypos_w[4]));
  LUT6 #(
    .INIT(64'h000000000000D8D0)) 
    i__carry__0_i_4
       (.I0(\cnt_h[6]_i_2_n_0 ),
        .I1(\cnt_v[9]_i_5_n_0 ),
        .I2(i__carry_i_9_n_0),
        .I3(cnt_h_reg[8]),
        .I4(de_q_i_3_n_0),
        .I5(i__carry__0_i_12_n_0),
        .O(pixel_xpos_w[2]));
  LUT3 #(
    .INIT(8'h14)) 
    i__carry__0_i_4__0
       (.I0(\cnt_h_reg[8]_0 ),
        .I1(cnt_v_reg[3]),
        .I2(cnt_v_reg[4]),
        .O(pixel_ypos_w[3]));
  LUT6 #(
    .INIT(64'hFFFF55560000AAA9)) 
    i__carry__0_i_8
       (.I0(cnt_h_reg[4]),
        .I1(cnt_h_reg[3]),
        .I2(cnt_h_reg[2]),
        .I3(\cnt_h[6]_i_2_n_0 ),
        .I4(\cnt_h_reg[8]_0 ),
        .I5(\_inferred__1/i__carry__0 ),
        .O(\cnt_h_reg[4]_0 ));
  LUT5 #(
    .INIT(32'hF90606F9)) 
    i__carry__0_i_8__0
       (.I0(cnt_v_reg[4]),
        .I1(cnt_v_reg[3]),
        .I2(\cnt_h_reg[8]_0 ),
        .I3(pixel_data3_carry__0_i_3_0[4]),
        .I4(pixel_data3_carry__0_i_3_0[3]),
        .O(\cnt_v_reg[4]_0 ));
  LUT6 #(
    .INIT(64'h70077000000FF00F)) 
    i__carry__0_i_9
       (.I0(cnt_h_reg[1]),
        .I1(cnt_h_reg[0]),
        .I2(cnt_h_reg[10]),
        .I3(cnt_h_reg[9]),
        .I4(de_q_i_2_n_0),
        .I5(cnt_h_reg[8]),
        .O(i__carry__0_i_9_n_0));
  LUT6 #(
    .INIT(64'h0103010000000003)) 
    i__carry__1_i_1
       (.I0(\cnt_h[6]_i_2_n_0 ),
        .I1(i__carry__0_i_9_n_0),
        .I2(de_q_i_3_n_0),
        .I3(cnt_h_reg[9]),
        .I4(i__carry__1_i_7_n_0),
        .I5(cnt_h_reg[10]),
        .O(pixel_xpos_w[8]));
  LUT6 #(
    .INIT(64'h000000000000D8D0)) 
    i__carry__1_i_1__0
       (.I0(\cnt_h[6]_i_2_n_0 ),
        .I1(\cnt_v[9]_i_5_n_0 ),
        .I2(i__carry_i_9_n_0),
        .I3(cnt_h_reg[8]),
        .I4(de_q_i_3_n_0),
        .I5(i__carry__1_i_6__0_n_0),
        .O(pixel_ypos_w[8]));
  LUT6 #(
    .INIT(64'h000700000000000F)) 
    i__carry__1_i_2
       (.I0(\cnt_h[6]_i_2_n_0 ),
        .I1(cnt_h_reg[10]),
        .I2(i__carry__0_i_9_n_0),
        .I3(de_q_i_3_n_0),
        .I4(i__carry__1_i_7_n_0),
        .I5(cnt_h_reg[9]),
        .O(pixel_xpos_w[7]));
  LUT6 #(
    .INIT(64'h5555555400000001)) 
    i__carry__1_i_2__0
       (.I0(\cnt_h_reg[8]_0 ),
        .I1(cnt_v_reg[6]),
        .I2(cnt_v_reg[5]),
        .I3(\cnt_v[6]_i_2_n_0 ),
        .I4(cnt_v_reg[7]),
        .I5(cnt_v_reg[8]),
        .O(pixel_ypos_w[7]));
  LUT6 #(
    .INIT(64'h00D80000000000D0)) 
    i__carry__1_i_3
       (.I0(\cnt_h[6]_i_2_n_0 ),
        .I1(\cnt_v[9]_i_5_n_0 ),
        .I2(i__carry_i_9_n_0),
        .I3(de_q_i_3_n_0),
        .I4(i__carry__1_i_8_n_0),
        .I5(cnt_h_reg[8]),
        .O(pixel_xpos_w[6]));
  LUT6 #(
    .INIT(64'hFF1F00E000E0FF1F)) 
    i__carry__1_i_4__0
       (.I0(i__carry__1_i_8__0_n_0),
        .I1(\cnt_v[6]_i_2_n_0 ),
        .I2(cnt_v_reg[9]),
        .I3(\cnt_h_reg[8]_0 ),
        .I4(\_inferred__2/i__carry__1 ),
        .I5(pixel_data3_carry__0_i_3_0[9]),
        .O(\cnt_v_reg[9]_0 ));
  LUT6 #(
    .INIT(64'hFF9A00650065FF9A)) 
    i__carry__1_i_5
       (.I0(cnt_h_reg[9]),
        .I1(i__carry__1_i_8_n_0),
        .I2(cnt_h_reg[8]),
        .I3(\cnt_h_reg[8]_0 ),
        .I4(\_inferred__1/i__carry__1_0 ),
        .I5(Q[9]),
        .O(\cnt_h_reg[9]_2 [1]));
  LUT6 #(
    .INIT(64'hFF9A00650065FF9A)) 
    i__carry__1_i_6
       (.I0(cnt_h_reg[8]),
        .I1(cnt_h_reg[7]),
        .I2(i__carry__0_i_10_n_0),
        .I3(\cnt_h_reg[8]_0 ),
        .I4(\_inferred__1/i__carry__1 ),
        .I5(Q[8]),
        .O(\cnt_h_reg[9]_2 [0]));
  LUT6 #(
    .INIT(64'h00000001FFFFFFFF)) 
    i__carry__1_i_6__0
       (.I0(cnt_v_reg[5]),
        .I1(cnt_v_reg[6]),
        .I2(cnt_v_reg[7]),
        .I3(cnt_v_reg[8]),
        .I4(\cnt_v[6]_i_2_n_0 ),
        .I5(cnt_v_reg[9]),
        .O(i__carry__1_i_6__0_n_0));
  LUT4 #(
    .INIT(16'hAAA8)) 
    i__carry__1_i_7
       (.I0(cnt_h_reg[8]),
        .I1(cnt_h_reg[7]),
        .I2(cnt_h_reg[6]),
        .I3(pixel_data4_carry_i_9_n_0),
        .O(i__carry__1_i_7_n_0));
  LUT6 #(
    .INIT(64'h0000000000000001)) 
    i__carry__1_i_8
       (.I0(cnt_h_reg[5]),
        .I1(c0_q_i_2_n_0),
        .I2(cnt_h_reg[2]),
        .I3(\cnt_h[6]_i_2_n_0 ),
        .I4(cnt_h_reg[6]),
        .I5(cnt_h_reg[7]),
        .O(i__carry__1_i_8_n_0));
  LUT4 #(
    .INIT(16'hFFFE)) 
    i__carry__1_i_8__0
       (.I0(cnt_v_reg[5]),
        .I1(cnt_v_reg[6]),
        .I2(cnt_v_reg[7]),
        .I3(cnt_v_reg[8]),
        .O(i__carry__1_i_8__0_n_0));
  LUT6 #(
    .INIT(64'h000000000000D8D0)) 
    i__carry_i_1
       (.I0(\cnt_h[6]_i_2_n_0 ),
        .I1(\cnt_v[9]_i_5_n_0 ),
        .I2(i__carry_i_9_n_0),
        .I3(cnt_h_reg[8]),
        .I4(de_q_i_3_n_0),
        .I5(i__carry_i_10_n_0),
        .O(pixel_xpos_w[1]));
  LUT4 #(
    .INIT(16'h556A)) 
    i__carry_i_10
       (.I0(cnt_h_reg[3]),
        .I1(cnt_h_reg[1]),
        .I2(cnt_h_reg[0]),
        .I3(cnt_h_reg[2]),
        .O(i__carry_i_10_n_0));
  LUT6 #(
    .INIT(64'hFFAAAAAFFBAAAAEF)) 
    i__carry_i_11
       (.I0(de_q_i_3_n_0),
        .I1(de_q_i_2_n_0),
        .I2(cnt_h_reg[8]),
        .I3(cnt_h_reg[9]),
        .I4(cnt_h_reg[10]),
        .I5(\cnt_h[6]_i_2_n_0 ),
        .O(\cnt_h_reg[8]_0 ));
  LUT6 #(
    .INIT(64'hFFFFFFFF1005B00D)) 
    i__carry_i_12
       (.I0(cnt_h_reg[8]),
        .I1(de_q_i_2_n_0),
        .I2(cnt_h_reg[9]),
        .I3(cnt_h_reg[10]),
        .I4(\cnt_h[6]_i_2_n_0 ),
        .I5(de_q_i_3_n_0),
        .O(i__carry_i_12_n_0));
  LUT2 #(
    .INIT(4'h1)) 
    i__carry_i_1__0
       (.I0(cnt_v_reg[3]),
        .I1(\cnt_h_reg[8]_0 ),
        .O(\cnt_v_reg[3]_1 ));
  LUT4 #(
    .INIT(16'h0087)) 
    i__carry_i_2
       (.I0(cnt_h_reg[1]),
        .I1(cnt_h_reg[0]),
        .I2(cnt_h_reg[2]),
        .I3(\cnt_h_reg[8]_0 ),
        .O(pixel_xpos_w[0]));
  LUT2 #(
    .INIT(4'h2)) 
    i__carry_i_2__0
       (.I0(cnt_v_reg[2]),
        .I1(\cnt_h_reg[8]_0 ),
        .O(pixel_ypos_w[2]));
  LUT2 #(
    .INIT(4'h2)) 
    i__carry_i_3
       (.I0(cnt_v_reg[1]),
        .I1(\cnt_h_reg[8]_0 ),
        .O(pixel_ypos_w[1]));
  LUT3 #(
    .INIT(8'h06)) 
    i__carry_i_3__0
       (.I0(cnt_h_reg[0]),
        .I1(cnt_h_reg[1]),
        .I2(i__carry_i_12_n_0),
        .O(DI[1]));
  LUT2 #(
    .INIT(4'h2)) 
    i__carry_i_4
       (.I0(cnt_v_reg[0]),
        .I1(\cnt_h_reg[8]_0 ),
        .O(pixel_ypos_w[0]));
  LUT2 #(
    .INIT(4'h1)) 
    i__carry_i_4__0
       (.I0(cnt_h_reg[0]),
        .I1(\cnt_h_reg[8]_0 ),
        .O(DI[0]));
  LUT3 #(
    .INIT(8'hE1)) 
    i__carry_i_5
       (.I0(cnt_v_reg[3]),
        .I1(\cnt_h_reg[8]_0 ),
        .I2(pixel_data3_carry__0_i_3_0[3]),
        .O(\cnt_v_reg[3]_0 [3]));
  LUT6 #(
    .INIT(64'hFFFF556A0000AA95)) 
    i__carry_i_5__0
       (.I0(cnt_h_reg[3]),
        .I1(cnt_h_reg[1]),
        .I2(cnt_h_reg[0]),
        .I3(cnt_h_reg[2]),
        .I4(\cnt_h_reg[8]_0 ),
        .I5(Q[3]),
        .O(S[3]));
  LUT5 #(
    .INIT(32'h0087FF78)) 
    i__carry_i_6
       (.I0(cnt_h_reg[1]),
        .I1(cnt_h_reg[0]),
        .I2(cnt_h_reg[2]),
        .I3(\cnt_h_reg[8]_0 ),
        .I4(Q[2]),
        .O(S[2]));
  LUT3 #(
    .INIT(8'h2D)) 
    i__carry_i_6__0
       (.I0(cnt_v_reg[2]),
        .I1(\cnt_h_reg[8]_0 ),
        .I2(pixel_data3_carry__0_i_3_0[2]),
        .O(\cnt_v_reg[3]_0 [2]));
  LUT3 #(
    .INIT(8'h4B)) 
    i__carry_i_7
       (.I0(\cnt_h_reg[8]_0 ),
        .I1(cnt_v_reg[1]),
        .I2(pixel_data3_carry__0_i_3_0[1]),
        .O(\cnt_v_reg[3]_0 [1]));
  LUT4 #(
    .INIT(16'h06F9)) 
    i__carry_i_7__0
       (.I0(cnt_h_reg[0]),
        .I1(cnt_h_reg[1]),
        .I2(i__carry_i_12_n_0),
        .I3(Q[1]),
        .O(S[1]));
  LUT3 #(
    .INIT(8'h1E)) 
    i__carry_i_8
       (.I0(cnt_h_reg[0]),
        .I1(\cnt_h_reg[8]_0 ),
        .I2(Q[0]),
        .O(S[0]));
  LUT3 #(
    .INIT(8'h2D)) 
    i__carry_i_8__0
       (.I0(cnt_v_reg[0]),
        .I1(\cnt_h_reg[8]_0 ),
        .I2(pixel_data3_carry__0_i_3_0[0]),
        .O(\cnt_v_reg[3]_0 [0]));
  LUT4 #(
    .INIT(16'h4FF2)) 
    i__carry_i_9
       (.I0(cnt_h_reg[8]),
        .I1(de_q_i_2_n_0),
        .I2(cnt_h_reg[9]),
        .I3(cnt_h_reg[10]),
        .O(i__carry_i_9_n_0));
  LUT3 #(
    .INIT(8'h82)) 
    pixel_data3_carry__0_i_3
       (.I0(pixel_data3_carry__0_i_4_n_0),
        .I1(pixel_ypos_w[7]),
        .I2(pixel_data3_carry__0_i_3_0[8]),
        .O(\block_y_reg[8] ));
  LUT6 #(
    .INIT(64'h55555555A9995555)) 
    pixel_data3_carry__0_i_4
       (.I0(pixel_data3_carry__0_i_3_0[9]),
        .I1(i__carry__1_i_8__0_n_0),
        .I2(cnt_v_reg[4]),
        .I3(cnt_v_reg[3]),
        .I4(cnt_v_reg[9]),
        .I5(\cnt_h_reg[8]_0 ),
        .O(pixel_data3_carry__0_i_4_n_0));
  LUT6 #(
    .INIT(64'h0000411100004771)) 
    pixel_data3_carry_i_2
       (.I0(pixel_data3_carry__0_i_3_0[5]),
        .I1(cnt_v_reg[5]),
        .I2(cnt_v_reg[3]),
        .I3(cnt_v_reg[4]),
        .I4(\cnt_h_reg[8]_0 ),
        .I5(pixel_data3_carry__0_i_3_0[4]),
        .O(\block_y_reg[5] [2]));
  LUT5 #(
    .INIT(32'h00101033)) 
    pixel_data3_carry_i_3
       (.I0(pixel_data3_carry__0_i_3_0[2]),
        .I1(\cnt_h_reg[8]_0 ),
        .I2(cnt_v_reg[2]),
        .I3(pixel_data3_carry__0_i_3_0[3]),
        .I4(cnt_v_reg[3]),
        .O(\block_y_reg[5] [1]));
  LUT5 #(
    .INIT(32'h10103110)) 
    pixel_data3_carry_i_4
       (.I0(pixel_data3_carry__0_i_3_0[1]),
        .I1(\cnt_h_reg[8]_0 ),
        .I2(cnt_v_reg[1]),
        .I3(cnt_v_reg[0]),
        .I4(pixel_data3_carry__0_i_3_0[0]),
        .O(\block_y_reg[5] [0]));
  LUT4 #(
    .INIT(16'h9009)) 
    pixel_data3_carry_i_5
       (.I0(pixel_ypos_w[6]),
        .I1(pixel_data3_carry__0_i_3_0[7]),
        .I2(pixel_ypos_w[5]),
        .I3(pixel_data3_carry__0_i_3_0[6]),
        .O(\block_y_reg[7] [3]));
  LUT6 #(
    .INIT(64'h0006060039303036)) 
    pixel_data3_carry_i_6
       (.I0(cnt_v_reg[5]),
        .I1(pixel_data3_carry__0_i_3_0[5]),
        .I2(\cnt_h_reg[8]_0 ),
        .I3(cnt_v_reg[3]),
        .I4(cnt_v_reg[4]),
        .I5(pixel_data3_carry__0_i_3_0[4]),
        .O(\block_y_reg[7] [2]));
  LUT5 #(
    .INIT(32'h00603306)) 
    pixel_data3_carry_i_7
       (.I0(cnt_v_reg[3]),
        .I1(pixel_data3_carry__0_i_3_0[3]),
        .I2(cnt_v_reg[2]),
        .I3(\cnt_h_reg[8]_0 ),
        .I4(pixel_data3_carry__0_i_3_0[2]),
        .O(\block_y_reg[7] [1]));
  LUT5 #(
    .INIT(32'h00903309)) 
    pixel_data3_carry_i_8
       (.I0(cnt_v_reg[1]),
        .I1(pixel_data3_carry__0_i_3_0[1]),
        .I2(cnt_v_reg[0]),
        .I3(\cnt_h_reg[8]_0 ),
        .I4(pixel_data3_carry__0_i_3_0[0]),
        .O(\block_y_reg[7] [0]));
  LUT2 #(
    .INIT(4'h2)) 
    pixel_data4_carry__0_i_1
       (.I0(pixel_xpos_w[8]),
        .I1(Q[10]),
        .O(\block_x_reg[10] [1]));
  LUT6 #(
    .INIT(64'h0000141100007417)) 
    pixel_data4_carry__0_i_2
       (.I0(Q[9]),
        .I1(cnt_h_reg[9]),
        .I2(i__carry__1_i_8_n_0),
        .I3(cnt_h_reg[8]),
        .I4(\cnt_h_reg[8]_0 ),
        .I5(Q[8]),
        .O(\block_x_reg[10] [0]));
  LUT6 #(
    .INIT(64'h0600000630393630)) 
    pixel_data4_carry__0_i_4
       (.I0(cnt_h_reg[9]),
        .I1(Q[9]),
        .I2(\cnt_h_reg[8]_0 ),
        .I3(i__carry__1_i_8_n_0),
        .I4(cnt_h_reg[8]),
        .I5(Q[8]),
        .O(\cnt_h_reg[9]_1 ));
  LUT6 #(
    .INIT(64'h000044410000D447)) 
    pixel_data4_carry_i_1
       (.I0(Q[7]),
        .I1(cnt_h_reg[7]),
        .I2(pixel_data4_carry_i_9_n_0),
        .I3(cnt_h_reg[6]),
        .I4(\cnt_h_reg[8]_0 ),
        .I5(Q[6]),
        .O(\block_x_reg[7] [3]));
  LUT5 #(
    .INIT(32'h01015701)) 
    pixel_data4_carry_i_2
       (.I0(Q[5]),
        .I1(\cnt_h_reg[5]_0 ),
        .I2(\cnt_h_reg[8]_0 ),
        .I3(pixel_xpos_w[2]),
        .I4(Q[4]),
        .O(\block_x_reg[7] [2]));
  LUT6 #(
    .INIT(64'h0703030101000007)) 
    pixel_data4_carry_i_3
       (.I0(Q[2]),
        .I1(Q[3]),
        .I2(\cnt_h_reg[8]_0 ),
        .I3(cnt_h_reg[2]),
        .I4(\cnt_h[6]_i_2_n_0 ),
        .I5(cnt_h_reg[3]),
        .O(\block_x_reg[7] [1]));
  LUT6 #(
    .INIT(64'h0006000600060457)) 
    pixel_data4_carry_i_4
       (.I0(cnt_h_reg[0]),
        .I1(cnt_h_reg[1]),
        .I2(i__carry_i_12_n_0),
        .I3(Q[1]),
        .I4(\cnt_h_reg[8]_0 ),
        .I5(Q[0]),
        .O(\block_x_reg[7] [0]));
  LUT6 #(
    .INIT(64'h0900000630393930)) 
    pixel_data4_carry_i_5
       (.I0(cnt_h_reg[7]),
        .I1(Q[7]),
        .I2(\cnt_h_reg[8]_0 ),
        .I3(pixel_data4_carry_i_9_n_0),
        .I4(cnt_h_reg[6]),
        .I5(Q[6]),
        .O(\cnt_h_reg[7]_0 [3]));
  LUT5 #(
    .INIT(32'h1E00001E)) 
    pixel_data4_carry_i_6
       (.I0(\cnt_h_reg[8]_0 ),
        .I1(\cnt_h_reg[5]_0 ),
        .I2(Q[5]),
        .I3(pixel_xpos_w[2]),
        .I4(Q[4]),
        .O(\cnt_h_reg[7]_0 [2]));
  LUT6 #(
    .INIT(64'h0000900655550990)) 
    pixel_data4_carry_i_7
       (.I0(Q[3]),
        .I1(cnt_h_reg[3]),
        .I2(\cnt_h[6]_i_2_n_0 ),
        .I3(cnt_h_reg[2]),
        .I4(\cnt_h_reg[8]_0 ),
        .I5(Q[2]),
        .O(\cnt_h_reg[7]_0 [1]));
  LUT6 #(
    .INIT(64'h0000045106F902A8)) 
    pixel_data4_carry_i_8
       (.I0(cnt_h_reg[0]),
        .I1(cnt_h_reg[1]),
        .I2(i__carry_i_12_n_0),
        .I3(Q[1]),
        .I4(\cnt_h_reg[8]_0 ),
        .I5(Q[0]),
        .O(\cnt_h_reg[7]_0 [0]));
  LUT6 #(
    .INIT(64'hFFFFFFFEFFFEFFFE)) 
    pixel_data4_carry_i_9
       (.I0(cnt_h_reg[5]),
        .I1(cnt_h_reg[4]),
        .I2(cnt_h_reg[3]),
        .I3(cnt_h_reg[2]),
        .I4(cnt_h_reg[0]),
        .I5(cnt_h_reg[1]),
        .O(pixel_data4_carry_i_9_n_0));
  LUT6 #(
    .INIT(64'h0000000000000002)) 
    \pixel_data[0]_i_3 
       (.I0(\pixel_data[16]_i_3_n_0 ),
        .I1(pixel_xpos_w[6]),
        .I2(pixel_xpos_w[7]),
        .I3(pixel_xpos_w[4]),
        .I4(pixel_xpos_w[5]),
        .I5(pixel_xpos_w[8]),
        .O(\cnt_h_reg[8]_1 ));
  LUT6 #(
    .INIT(64'h00000000004500EF)) 
    \pixel_data[16]_i_1 
       (.I0(pixel_xpos_w[8]),
        .I1(\pixel_data[16]_i_2_n_0 ),
        .I2(\pixel_data[16]_i_3_n_0 ),
        .I3(\cnt_v_reg[8]_0 ),
        .I4(\cnt_h_reg[9]_0 ),
        .I5(\pixel_data_reg[16] ),
        .O(D));
  LUT6 #(
    .INIT(64'h00000000000000DB)) 
    \pixel_data[16]_i_10 
       (.I0(cnt_h_reg[9]),
        .I1(cnt_h_reg[8]),
        .I2(i__carry__1_i_8_n_0),
        .I3(de_q_i_3_n_0),
        .I4(i__carry__0_i_9_n_0),
        .I5(\pixel_data[16]_i_7_n_0 ),
        .O(\pixel_data[16]_i_10_n_0 ));
  LUT6 #(
    .INIT(64'h0F0F0F0F0F0D0D0F)) 
    \pixel_data[16]_i_2 
       (.I0(cnt_h_reg[8]),
        .I1(cnt_h_reg[9]),
        .I2(\cnt_h_reg[8]_0 ),
        .I3(pixel_data4_carry_i_9_n_0),
        .I4(cnt_h_reg[6]),
        .I5(cnt_h_reg[7]),
        .O(\pixel_data[16]_i_2_n_0 ));
  LUT6 #(
    .INIT(64'hFFFFFFFEFFFEFFFE)) 
    \pixel_data[16]_i_3 
       (.I0(\cnt_h_reg[5]_0 ),
        .I1(\pixel_data[16]_i_7_n_0 ),
        .I2(i__carry__0_i_9_n_0),
        .I3(de_q_i_3_n_0),
        .I4(i__carry_i_10_n_0),
        .I5(i__carry__0_i_12_n_0),
        .O(\pixel_data[16]_i_3_n_0 ));
  LUT6 #(
    .INIT(64'h00009ABEFFFF4100)) 
    \pixel_data[16]_i_4 
       (.I0(cnt_v_reg[8]),
        .I1(cnt_v_reg[7]),
        .I2(\pixel_data[16]_i_8_n_0 ),
        .I3(\pixel_data[16]_i_9_n_0 ),
        .I4(\cnt_h_reg[8]_0 ),
        .I5(pixel_ypos_w[8]),
        .O(\cnt_v_reg[8]_0 ));
  LUT6 #(
    .INIT(64'hAAAABAFFAAAAAAAA)) 
    \pixel_data[16]_i_5 
       (.I0(\pixel_data[16]_i_10_n_0 ),
        .I1(i__carry_i_10_n_0),
        .I2(pixel_xpos_w[2]),
        .I3(\cnt_h_reg[5]_0 ),
        .I4(\cnt_h_reg[6]_0 ),
        .I5(pixel_xpos_w[5]),
        .O(\cnt_h_reg[9]_0 ));
  LUT4 #(
    .INIT(16'h8000)) 
    \pixel_data[16]_i_7 
       (.I0(cnt_h_reg[0]),
        .I1(cnt_h_reg[1]),
        .I2(cnt_h_reg[10]),
        .I3(cnt_h_reg[9]),
        .O(\pixel_data[16]_i_7_n_0 ));
  LUT4 #(
    .INIT(16'h0007)) 
    \pixel_data[16]_i_8 
       (.I0(cnt_v_reg[3]),
        .I1(cnt_v_reg[4]),
        .I2(cnt_v_reg[5]),
        .I3(cnt_v_reg[6]),
        .O(\pixel_data[16]_i_8_n_0 ));
  LUT4 #(
    .INIT(16'h5540)) 
    \pixel_data[16]_i_9 
       (.I0(cnt_v_reg[6]),
        .I1(cnt_v_reg[4]),
        .I2(cnt_v_reg[3]),
        .I3(cnt_v_reg[5]),
        .O(\pixel_data[16]_i_9_n_0 ));
endmodule

module serializer_10_to_1
   (serial_data_out,
    serial_clk_5x,
    CLK,
    paralell_data,
    AR);
  output serial_data_out;
  input serial_clk_5x;
  input CLK;
  input [3:0]paralell_data;
  input [0:0]AR;

  wire [0:0]AR;
  wire CLK;
  wire cascade1;
  wire cascade2;
  wire [3:0]paralell_data;
  wire serial_clk_5x;
  wire serial_data_out;
  wire NLW_OSERDESE2_Master_OFB_UNCONNECTED;
  wire NLW_OSERDESE2_Master_SHIFTOUT1_UNCONNECTED;
  wire NLW_OSERDESE2_Master_SHIFTOUT2_UNCONNECTED;
  wire NLW_OSERDESE2_Master_TBYTEOUT_UNCONNECTED;
  wire NLW_OSERDESE2_Master_TFB_UNCONNECTED;
  wire NLW_OSERDESE2_Master_TQ_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_OFB_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_OQ_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_SHIFTIN1_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_SHIFTIN2_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_TBYTEOUT_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_TFB_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_TQ_UNCONNECTED;

  (* BOX_TYPE = "PRIMITIVE" *) 
  OSERDESE2 #(
    .DATA_RATE_OQ("DDR"),
    .DATA_RATE_TQ("SDR"),
    .DATA_WIDTH(10),
    .INIT_OQ(1'b0),
    .INIT_TQ(1'b0),
    .IS_CLKDIV_INVERTED(1'b0),
    .IS_CLK_INVERTED(1'b0),
    .IS_D1_INVERTED(1'b0),
    .IS_D2_INVERTED(1'b0),
    .IS_D3_INVERTED(1'b0),
    .IS_D4_INVERTED(1'b0),
    .IS_D5_INVERTED(1'b0),
    .IS_D6_INVERTED(1'b0),
    .IS_D7_INVERTED(1'b0),
    .IS_D8_INVERTED(1'b0),
    .IS_T1_INVERTED(1'b0),
    .IS_T2_INVERTED(1'b0),
    .IS_T3_INVERTED(1'b0),
    .IS_T4_INVERTED(1'b0),
    .SERDES_MODE("MASTER"),
    .SRVAL_OQ(1'b0),
    .SRVAL_TQ(1'b0),
    .TBYTE_CTL("FALSE"),
    .TBYTE_SRC("FALSE"),
    .TRISTATE_WIDTH(1)) 
    OSERDESE2_Master
       (.CLK(serial_clk_5x),
        .CLKDIV(CLK),
        .D1(paralell_data[1]),
        .D2(paralell_data[1]),
        .D3(paralell_data[0]),
        .D4(paralell_data[1]),
        .D5(paralell_data[0]),
        .D6(paralell_data[1]),
        .D7(paralell_data[0]),
        .D8(paralell_data[1]),
        .OCE(1'b1),
        .OFB(NLW_OSERDESE2_Master_OFB_UNCONNECTED),
        .OQ(serial_data_out),
        .RST(AR),
        .SHIFTIN1(cascade1),
        .SHIFTIN2(cascade2),
        .SHIFTOUT1(NLW_OSERDESE2_Master_SHIFTOUT1_UNCONNECTED),
        .SHIFTOUT2(NLW_OSERDESE2_Master_SHIFTOUT2_UNCONNECTED),
        .T1(1'b0),
        .T2(1'b0),
        .T3(1'b0),
        .T4(1'b0),
        .TBYTEIN(1'b0),
        .TBYTEOUT(NLW_OSERDESE2_Master_TBYTEOUT_UNCONNECTED),
        .TCE(1'b0),
        .TFB(NLW_OSERDESE2_Master_TFB_UNCONNECTED),
        .TQ(NLW_OSERDESE2_Master_TQ_UNCONNECTED));
  (* BOX_TYPE = "PRIMITIVE" *) 
  OSERDESE2 #(
    .DATA_RATE_OQ("DDR"),
    .DATA_RATE_TQ("SDR"),
    .DATA_WIDTH(10),
    .INIT_OQ(1'b0),
    .INIT_TQ(1'b0),
    .IS_CLKDIV_INVERTED(1'b0),
    .IS_CLK_INVERTED(1'b0),
    .IS_D1_INVERTED(1'b0),
    .IS_D2_INVERTED(1'b0),
    .IS_D3_INVERTED(1'b0),
    .IS_D4_INVERTED(1'b0),
    .IS_D5_INVERTED(1'b0),
    .IS_D6_INVERTED(1'b0),
    .IS_D7_INVERTED(1'b0),
    .IS_D8_INVERTED(1'b0),
    .IS_T1_INVERTED(1'b0),
    .IS_T2_INVERTED(1'b0),
    .IS_T3_INVERTED(1'b0),
    .IS_T4_INVERTED(1'b0),
    .SERDES_MODE("SLAVE"),
    .SRVAL_OQ(1'b0),
    .SRVAL_TQ(1'b0),
    .TBYTE_CTL("FALSE"),
    .TBYTE_SRC("FALSE"),
    .TRISTATE_WIDTH(1)) 
    OSERDESE2_Slave
       (.CLK(serial_clk_5x),
        .CLKDIV(CLK),
        .D1(1'b0),
        .D2(1'b0),
        .D3(paralell_data[2]),
        .D4(paralell_data[3]),
        .D5(1'b0),
        .D6(1'b0),
        .D7(1'b0),
        .D8(1'b0),
        .OCE(1'b1),
        .OFB(NLW_OSERDESE2_Slave_OFB_UNCONNECTED),
        .OQ(NLW_OSERDESE2_Slave_OQ_UNCONNECTED),
        .RST(AR),
        .SHIFTIN1(NLW_OSERDESE2_Slave_SHIFTIN1_UNCONNECTED),
        .SHIFTIN2(NLW_OSERDESE2_Slave_SHIFTIN2_UNCONNECTED),
        .SHIFTOUT1(cascade1),
        .SHIFTOUT2(cascade2),
        .T1(1'b0),
        .T2(1'b0),
        .T3(1'b0),
        .T4(1'b0),
        .TBYTEIN(1'b0),
        .TBYTEOUT(NLW_OSERDESE2_Slave_TBYTEOUT_UNCONNECTED),
        .TCE(1'b0),
        .TFB(NLW_OSERDESE2_Slave_TFB_UNCONNECTED),
        .TQ(NLW_OSERDESE2_Slave_TQ_UNCONNECTED));
endmodule

(* ORIG_REF_NAME = "serializer_10_to_1" *) 
module serializer_10_to_1_2
   (serial_data_out,
    serial_clk_5x,
    CLK,
    AR);
  output serial_data_out;
  input serial_clk_5x;
  input CLK;
  input [0:0]AR;

  wire [0:0]AR;
  wire CLK;
  wire cascade1;
  wire cascade2;
  wire serial_clk_5x;
  wire serial_data_out;
  wire NLW_OSERDESE2_Master_OFB_UNCONNECTED;
  wire NLW_OSERDESE2_Master_SHIFTOUT1_UNCONNECTED;
  wire NLW_OSERDESE2_Master_SHIFTOUT2_UNCONNECTED;
  wire NLW_OSERDESE2_Master_TBYTEOUT_UNCONNECTED;
  wire NLW_OSERDESE2_Master_TFB_UNCONNECTED;
  wire NLW_OSERDESE2_Master_TQ_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_OFB_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_OQ_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_SHIFTIN1_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_SHIFTIN2_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_TBYTEOUT_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_TFB_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_TQ_UNCONNECTED;

  (* BOX_TYPE = "PRIMITIVE" *) 
  OSERDESE2 #(
    .DATA_RATE_OQ("DDR"),
    .DATA_RATE_TQ("SDR"),
    .DATA_WIDTH(10),
    .INIT_OQ(1'b0),
    .INIT_TQ(1'b0),
    .IS_CLKDIV_INVERTED(1'b0),
    .IS_CLK_INVERTED(1'b0),
    .IS_D1_INVERTED(1'b0),
    .IS_D2_INVERTED(1'b0),
    .IS_D3_INVERTED(1'b0),
    .IS_D4_INVERTED(1'b0),
    .IS_D5_INVERTED(1'b0),
    .IS_D6_INVERTED(1'b0),
    .IS_D7_INVERTED(1'b0),
    .IS_D8_INVERTED(1'b0),
    .IS_T1_INVERTED(1'b0),
    .IS_T2_INVERTED(1'b0),
    .IS_T3_INVERTED(1'b0),
    .IS_T4_INVERTED(1'b0),
    .SERDES_MODE("MASTER"),
    .SRVAL_OQ(1'b0),
    .SRVAL_TQ(1'b0),
    .TBYTE_CTL("FALSE"),
    .TBYTE_SRC("FALSE"),
    .TRISTATE_WIDTH(1)) 
    OSERDESE2_Master
       (.CLK(serial_clk_5x),
        .CLKDIV(CLK),
        .D1(1'b0),
        .D2(1'b0),
        .D3(1'b0),
        .D4(1'b0),
        .D5(1'b0),
        .D6(1'b1),
        .D7(1'b1),
        .D8(1'b1),
        .OCE(1'b1),
        .OFB(NLW_OSERDESE2_Master_OFB_UNCONNECTED),
        .OQ(serial_data_out),
        .RST(AR),
        .SHIFTIN1(cascade1),
        .SHIFTIN2(cascade2),
        .SHIFTOUT1(NLW_OSERDESE2_Master_SHIFTOUT1_UNCONNECTED),
        .SHIFTOUT2(NLW_OSERDESE2_Master_SHIFTOUT2_UNCONNECTED),
        .T1(1'b0),
        .T2(1'b0),
        .T3(1'b0),
        .T4(1'b0),
        .TBYTEIN(1'b0),
        .TBYTEOUT(NLW_OSERDESE2_Master_TBYTEOUT_UNCONNECTED),
        .TCE(1'b0),
        .TFB(NLW_OSERDESE2_Master_TFB_UNCONNECTED),
        .TQ(NLW_OSERDESE2_Master_TQ_UNCONNECTED));
  (* BOX_TYPE = "PRIMITIVE" *) 
  OSERDESE2 #(
    .DATA_RATE_OQ("DDR"),
    .DATA_RATE_TQ("SDR"),
    .DATA_WIDTH(10),
    .INIT_OQ(1'b0),
    .INIT_TQ(1'b0),
    .IS_CLKDIV_INVERTED(1'b0),
    .IS_CLK_INVERTED(1'b0),
    .IS_D1_INVERTED(1'b0),
    .IS_D2_INVERTED(1'b0),
    .IS_D3_INVERTED(1'b0),
    .IS_D4_INVERTED(1'b0),
    .IS_D5_INVERTED(1'b0),
    .IS_D6_INVERTED(1'b0),
    .IS_D7_INVERTED(1'b0),
    .IS_D8_INVERTED(1'b0),
    .IS_T1_INVERTED(1'b0),
    .IS_T2_INVERTED(1'b0),
    .IS_T3_INVERTED(1'b0),
    .IS_T4_INVERTED(1'b0),
    .SERDES_MODE("SLAVE"),
    .SRVAL_OQ(1'b0),
    .SRVAL_TQ(1'b0),
    .TBYTE_CTL("FALSE"),
    .TBYTE_SRC("FALSE"),
    .TRISTATE_WIDTH(1)) 
    OSERDESE2_Slave
       (.CLK(serial_clk_5x),
        .CLKDIV(CLK),
        .D1(1'b0),
        .D2(1'b0),
        .D3(1'b1),
        .D4(1'b1),
        .D5(1'b0),
        .D6(1'b0),
        .D7(1'b0),
        .D8(1'b0),
        .OCE(1'b1),
        .OFB(NLW_OSERDESE2_Slave_OFB_UNCONNECTED),
        .OQ(NLW_OSERDESE2_Slave_OQ_UNCONNECTED),
        .RST(AR),
        .SHIFTIN1(NLW_OSERDESE2_Slave_SHIFTIN1_UNCONNECTED),
        .SHIFTIN2(NLW_OSERDESE2_Slave_SHIFTIN2_UNCONNECTED),
        .SHIFTOUT1(cascade1),
        .SHIFTOUT2(cascade2),
        .T1(1'b0),
        .T2(1'b0),
        .T3(1'b0),
        .T4(1'b0),
        .TBYTEIN(1'b0),
        .TBYTEOUT(NLW_OSERDESE2_Slave_TBYTEOUT_UNCONNECTED),
        .TCE(1'b0),
        .TFB(NLW_OSERDESE2_Slave_TFB_UNCONNECTED),
        .TQ(NLW_OSERDESE2_Slave_TQ_UNCONNECTED));
endmodule

(* ORIG_REF_NAME = "serializer_10_to_1" *) 
module serializer_10_to_1_3
   (serial_data_out,
    serial_clk_5x,
    CLK,
    paralell_data,
    AR);
  output serial_data_out;
  input serial_clk_5x;
  input CLK;
  input [3:0]paralell_data;
  input [0:0]AR;

  wire [0:0]AR;
  wire CLK;
  wire cascade1;
  wire cascade2;
  wire [3:0]paralell_data;
  wire serial_clk_5x;
  wire serial_data_out;
  wire NLW_OSERDESE2_Master_OFB_UNCONNECTED;
  wire NLW_OSERDESE2_Master_SHIFTOUT1_UNCONNECTED;
  wire NLW_OSERDESE2_Master_SHIFTOUT2_UNCONNECTED;
  wire NLW_OSERDESE2_Master_TBYTEOUT_UNCONNECTED;
  wire NLW_OSERDESE2_Master_TFB_UNCONNECTED;
  wire NLW_OSERDESE2_Master_TQ_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_OFB_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_OQ_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_SHIFTIN1_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_SHIFTIN2_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_TBYTEOUT_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_TFB_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_TQ_UNCONNECTED;

  (* BOX_TYPE = "PRIMITIVE" *) 
  OSERDESE2 #(
    .DATA_RATE_OQ("DDR"),
    .DATA_RATE_TQ("SDR"),
    .DATA_WIDTH(10),
    .INIT_OQ(1'b0),
    .INIT_TQ(1'b0),
    .IS_CLKDIV_INVERTED(1'b0),
    .IS_CLK_INVERTED(1'b0),
    .IS_D1_INVERTED(1'b0),
    .IS_D2_INVERTED(1'b0),
    .IS_D3_INVERTED(1'b0),
    .IS_D4_INVERTED(1'b0),
    .IS_D5_INVERTED(1'b0),
    .IS_D6_INVERTED(1'b0),
    .IS_D7_INVERTED(1'b0),
    .IS_D8_INVERTED(1'b0),
    .IS_T1_INVERTED(1'b0),
    .IS_T2_INVERTED(1'b0),
    .IS_T3_INVERTED(1'b0),
    .IS_T4_INVERTED(1'b0),
    .SERDES_MODE("MASTER"),
    .SRVAL_OQ(1'b0),
    .SRVAL_TQ(1'b0),
    .TBYTE_CTL("FALSE"),
    .TBYTE_SRC("FALSE"),
    .TRISTATE_WIDTH(1)) 
    OSERDESE2_Master
       (.CLK(serial_clk_5x),
        .CLKDIV(CLK),
        .D1(paralell_data[1]),
        .D2(paralell_data[1]),
        .D3(paralell_data[0]),
        .D4(paralell_data[1]),
        .D5(paralell_data[0]),
        .D6(paralell_data[1]),
        .D7(paralell_data[0]),
        .D8(paralell_data[1]),
        .OCE(1'b1),
        .OFB(NLW_OSERDESE2_Master_OFB_UNCONNECTED),
        .OQ(serial_data_out),
        .RST(AR),
        .SHIFTIN1(cascade1),
        .SHIFTIN2(cascade2),
        .SHIFTOUT1(NLW_OSERDESE2_Master_SHIFTOUT1_UNCONNECTED),
        .SHIFTOUT2(NLW_OSERDESE2_Master_SHIFTOUT2_UNCONNECTED),
        .T1(1'b0),
        .T2(1'b0),
        .T3(1'b0),
        .T4(1'b0),
        .TBYTEIN(1'b0),
        .TBYTEOUT(NLW_OSERDESE2_Master_TBYTEOUT_UNCONNECTED),
        .TCE(1'b0),
        .TFB(NLW_OSERDESE2_Master_TFB_UNCONNECTED),
        .TQ(NLW_OSERDESE2_Master_TQ_UNCONNECTED));
  (* BOX_TYPE = "PRIMITIVE" *) 
  OSERDESE2 #(
    .DATA_RATE_OQ("DDR"),
    .DATA_RATE_TQ("SDR"),
    .DATA_WIDTH(10),
    .INIT_OQ(1'b0),
    .INIT_TQ(1'b0),
    .IS_CLKDIV_INVERTED(1'b0),
    .IS_CLK_INVERTED(1'b0),
    .IS_D1_INVERTED(1'b0),
    .IS_D2_INVERTED(1'b0),
    .IS_D3_INVERTED(1'b0),
    .IS_D4_INVERTED(1'b0),
    .IS_D5_INVERTED(1'b0),
    .IS_D6_INVERTED(1'b0),
    .IS_D7_INVERTED(1'b0),
    .IS_D8_INVERTED(1'b0),
    .IS_T1_INVERTED(1'b0),
    .IS_T2_INVERTED(1'b0),
    .IS_T3_INVERTED(1'b0),
    .IS_T4_INVERTED(1'b0),
    .SERDES_MODE("SLAVE"),
    .SRVAL_OQ(1'b0),
    .SRVAL_TQ(1'b0),
    .TBYTE_CTL("FALSE"),
    .TBYTE_SRC("FALSE"),
    .TRISTATE_WIDTH(1)) 
    OSERDESE2_Slave
       (.CLK(serial_clk_5x),
        .CLKDIV(CLK),
        .D1(1'b0),
        .D2(1'b0),
        .D3(paralell_data[2]),
        .D4(paralell_data[3]),
        .D5(1'b0),
        .D6(1'b0),
        .D7(1'b0),
        .D8(1'b0),
        .OCE(1'b1),
        .OFB(NLW_OSERDESE2_Slave_OFB_UNCONNECTED),
        .OQ(NLW_OSERDESE2_Slave_OQ_UNCONNECTED),
        .RST(AR),
        .SHIFTIN1(NLW_OSERDESE2_Slave_SHIFTIN1_UNCONNECTED),
        .SHIFTIN2(NLW_OSERDESE2_Slave_SHIFTIN2_UNCONNECTED),
        .SHIFTOUT1(cascade1),
        .SHIFTOUT2(cascade2),
        .T1(1'b0),
        .T2(1'b0),
        .T3(1'b0),
        .T4(1'b0),
        .TBYTEIN(1'b0),
        .TBYTEOUT(NLW_OSERDESE2_Slave_TBYTEOUT_UNCONNECTED),
        .TCE(1'b0),
        .TFB(NLW_OSERDESE2_Slave_TFB_UNCONNECTED),
        .TQ(NLW_OSERDESE2_Slave_TQ_UNCONNECTED));
endmodule

(* ORIG_REF_NAME = "serializer_10_to_1" *) 
module serializer_10_to_1_4
   (serial_data_out,
    serial_clk_5x,
    CLK,
    paralell_data,
    AR);
  output serial_data_out;
  input serial_clk_5x;
  input CLK;
  input [3:0]paralell_data;
  input [0:0]AR;

  wire [0:0]AR;
  wire CLK;
  wire cascade1;
  wire cascade2;
  wire [3:0]paralell_data;
  wire serial_clk_5x;
  wire serial_data_out;
  wire NLW_OSERDESE2_Master_OFB_UNCONNECTED;
  wire NLW_OSERDESE2_Master_SHIFTOUT1_UNCONNECTED;
  wire NLW_OSERDESE2_Master_SHIFTOUT2_UNCONNECTED;
  wire NLW_OSERDESE2_Master_TBYTEOUT_UNCONNECTED;
  wire NLW_OSERDESE2_Master_TFB_UNCONNECTED;
  wire NLW_OSERDESE2_Master_TQ_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_OFB_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_OQ_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_SHIFTIN1_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_SHIFTIN2_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_TBYTEOUT_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_TFB_UNCONNECTED;
  wire NLW_OSERDESE2_Slave_TQ_UNCONNECTED;

  (* BOX_TYPE = "PRIMITIVE" *) 
  OSERDESE2 #(
    .DATA_RATE_OQ("DDR"),
    .DATA_RATE_TQ("SDR"),
    .DATA_WIDTH(10),
    .INIT_OQ(1'b0),
    .INIT_TQ(1'b0),
    .IS_CLKDIV_INVERTED(1'b0),
    .IS_CLK_INVERTED(1'b0),
    .IS_D1_INVERTED(1'b0),
    .IS_D2_INVERTED(1'b0),
    .IS_D3_INVERTED(1'b0),
    .IS_D4_INVERTED(1'b0),
    .IS_D5_INVERTED(1'b0),
    .IS_D6_INVERTED(1'b0),
    .IS_D7_INVERTED(1'b0),
    .IS_D8_INVERTED(1'b0),
    .IS_T1_INVERTED(1'b0),
    .IS_T2_INVERTED(1'b0),
    .IS_T3_INVERTED(1'b0),
    .IS_T4_INVERTED(1'b0),
    .SERDES_MODE("MASTER"),
    .SRVAL_OQ(1'b0),
    .SRVAL_TQ(1'b0),
    .TBYTE_CTL("FALSE"),
    .TBYTE_SRC("FALSE"),
    .TRISTATE_WIDTH(1)) 
    OSERDESE2_Master
       (.CLK(serial_clk_5x),
        .CLKDIV(CLK),
        .D1(paralell_data[1]),
        .D2(paralell_data[1]),
        .D3(paralell_data[0]),
        .D4(paralell_data[1]),
        .D5(paralell_data[0]),
        .D6(paralell_data[1]),
        .D7(paralell_data[0]),
        .D8(paralell_data[1]),
        .OCE(1'b1),
        .OFB(NLW_OSERDESE2_Master_OFB_UNCONNECTED),
        .OQ(serial_data_out),
        .RST(AR),
        .SHIFTIN1(cascade1),
        .SHIFTIN2(cascade2),
        .SHIFTOUT1(NLW_OSERDESE2_Master_SHIFTOUT1_UNCONNECTED),
        .SHIFTOUT2(NLW_OSERDESE2_Master_SHIFTOUT2_UNCONNECTED),
        .T1(1'b0),
        .T2(1'b0),
        .T3(1'b0),
        .T4(1'b0),
        .TBYTEIN(1'b0),
        .TBYTEOUT(NLW_OSERDESE2_Master_TBYTEOUT_UNCONNECTED),
        .TCE(1'b0),
        .TFB(NLW_OSERDESE2_Master_TFB_UNCONNECTED),
        .TQ(NLW_OSERDESE2_Master_TQ_UNCONNECTED));
  (* BOX_TYPE = "PRIMITIVE" *) 
  OSERDESE2 #(
    .DATA_RATE_OQ("DDR"),
    .DATA_RATE_TQ("SDR"),
    .DATA_WIDTH(10),
    .INIT_OQ(1'b0),
    .INIT_TQ(1'b0),
    .IS_CLKDIV_INVERTED(1'b0),
    .IS_CLK_INVERTED(1'b0),
    .IS_D1_INVERTED(1'b0),
    .IS_D2_INVERTED(1'b0),
    .IS_D3_INVERTED(1'b0),
    .IS_D4_INVERTED(1'b0),
    .IS_D5_INVERTED(1'b0),
    .IS_D6_INVERTED(1'b0),
    .IS_D7_INVERTED(1'b0),
    .IS_D8_INVERTED(1'b0),
    .IS_T1_INVERTED(1'b0),
    .IS_T2_INVERTED(1'b0),
    .IS_T3_INVERTED(1'b0),
    .IS_T4_INVERTED(1'b0),
    .SERDES_MODE("SLAVE"),
    .SRVAL_OQ(1'b0),
    .SRVAL_TQ(1'b0),
    .TBYTE_CTL("FALSE"),
    .TBYTE_SRC("FALSE"),
    .TRISTATE_WIDTH(1)) 
    OSERDESE2_Slave
       (.CLK(serial_clk_5x),
        .CLKDIV(CLK),
        .D1(1'b0),
        .D2(1'b0),
        .D3(paralell_data[2]),
        .D4(paralell_data[3]),
        .D5(1'b0),
        .D6(1'b0),
        .D7(1'b0),
        .D8(1'b0),
        .OCE(1'b1),
        .OFB(NLW_OSERDESE2_Slave_OFB_UNCONNECTED),
        .OQ(NLW_OSERDESE2_Slave_OQ_UNCONNECTED),
        .RST(AR),
        .SHIFTIN1(NLW_OSERDESE2_Slave_SHIFTIN1_UNCONNECTED),
        .SHIFTIN2(NLW_OSERDESE2_Slave_SHIFTIN2_UNCONNECTED),
        .SHIFTOUT1(cascade1),
        .SHIFTOUT2(cascade2),
        .T1(1'b0),
        .T2(1'b0),
        .T3(1'b0),
        .T4(1'b0),
        .TBYTEIN(1'b0),
        .TBYTEOUT(NLW_OSERDESE2_Slave_TBYTEOUT_UNCONNECTED),
        .TCE(1'b0),
        .TFB(NLW_OSERDESE2_Slave_TFB_UNCONNECTED),
        .TQ(NLW_OSERDESE2_Slave_TQ_UNCONNECTED));
endmodule
`ifndef GLBL
`define GLBL
`timescale  1 ps / 1 ps

module glbl ();

    parameter ROC_WIDTH = 100000;
    parameter TOC_WIDTH = 0;
    parameter GRES_WIDTH = 10000;
    parameter GRES_START = 10000;

//--------   STARTUP Globals --------------
    wire GSR;
    wire GTS;
    wire GWE;
    wire PRLD;
    wire GRESTORE;
    tri1 p_up_tmp;
    tri (weak1, strong0) PLL_LOCKG = p_up_tmp;

    wire PROGB_GLBL;
    wire CCLKO_GLBL;
    wire FCSBO_GLBL;
    wire [3:0] DO_GLBL;
    wire [3:0] DI_GLBL;
   
    reg GSR_int;
    reg GTS_int;
    reg PRLD_int;
    reg GRESTORE_int;

//--------   JTAG Globals --------------
    wire JTAG_TDO_GLBL;
    wire JTAG_TCK_GLBL;
    wire JTAG_TDI_GLBL;
    wire JTAG_TMS_GLBL;
    wire JTAG_TRST_GLBL;

    reg JTAG_CAPTURE_GLBL;
    reg JTAG_RESET_GLBL;
    reg JTAG_SHIFT_GLBL;
    reg JTAG_UPDATE_GLBL;
    reg JTAG_RUNTEST_GLBL;

    reg JTAG_SEL1_GLBL = 0;
    reg JTAG_SEL2_GLBL = 0 ;
    reg JTAG_SEL3_GLBL = 0;
    reg JTAG_SEL4_GLBL = 0;

    reg JTAG_USER_TDO1_GLBL = 1'bz;
    reg JTAG_USER_TDO2_GLBL = 1'bz;
    reg JTAG_USER_TDO3_GLBL = 1'bz;
    reg JTAG_USER_TDO4_GLBL = 1'bz;

    assign (strong1, weak0) GSR = GSR_int;
    assign (strong1, weak0) GTS = GTS_int;
    assign (weak1, weak0) PRLD = PRLD_int;
    assign (strong1, weak0) GRESTORE = GRESTORE_int;

    initial begin
	GSR_int = 1'b1;
	PRLD_int = 1'b1;
	#(ROC_WIDTH)
	GSR_int = 1'b0;
	PRLD_int = 1'b0;
    end

    initial begin
	GTS_int = 1'b1;
	#(TOC_WIDTH)
	GTS_int = 1'b0;
    end

    initial begin 
	GRESTORE_int = 1'b0;
	#(GRES_START);
	GRESTORE_int = 1'b1;
	#(GRES_WIDTH);
	GRESTORE_int = 1'b0;
    end

endmodule
`endif
